theme_resources.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_RESOURCES_ANDROID_THEME_RESOURCES_H_
  5. #define COMPONENTS_RESOURCES_ANDROID_THEME_RESOURCES_H_
  6. // LINK_RESOURCE_ID will use an ID defined by grit, so no-op.
  7. #define LINK_RESOURCE_ID(c_id, java_id)
  8. // For DECLARE_RESOURCE_ID, make an entry in an enum.
  9. #define DECLARE_RESOURCE_ID(c_id, java_id) c_id,
  10. enum {
  11. // Not used; just provides a starting value for the enum. These must
  12. // not conflict with IDR_* values, which top out at 2^16 - 1.
  13. ANDROID_COMPONENTS_RESOURCE_ID_NONE = 1 << 16,
  14. #include "components/resources/android/blocked_content_resource_id.h"
  15. #include "components/resources/android/page_info_resource_id.h"
  16. #include "components/resources/android/permissions_resource_id.h"
  17. #include "components/resources/android/sms_resource_id.h"
  18. #include "components/resources/android/webxr_resource_id.h"
  19. ANDROID_COMPONENTS_RESOURCE_ID_MAX,
  20. };
  21. #undef LINK_RESOURCE_ID
  22. #undef DECLARE_RESOURCE_ID
  23. #endif // COMPONENTS_RESOURCES_ANDROID_THEME_RESOURCES_H_