summaryrefslogtreecommitdiff
path: root/chromium/components/resources/android/theme_resources.h
blob: a84712ddf377ab5b616597326d849d047a8218da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_RESOURCES_ANDROID_THEME_RESOURCES_H_
#define COMPONENTS_RESOURCES_ANDROID_THEME_RESOURCES_H_

// LINK_RESOURCE_ID will use an ID defined by grit, so no-op.
#define LINK_RESOURCE_ID(c_id, java_id)
// For DECLARE_RESOURCE_ID, make an entry in an enum.
#define DECLARE_RESOURCE_ID(c_id, java_id) c_id,

enum {
  // Not used; just provides a starting value for the enum. These must
  // not conflict with IDR_* values, which top out at 2^16 - 1.
  ANDROID_COMPONENTS_RESOURCE_ID_NONE = 1 << 16,
#include "components/resources/android/page_info_resource_id.h"
#include "components/resources/android/permissions_resource_id.h"
  ANDROID_COMPONENTS_RESOURCE_ID_MAX,
};

#undef LINK_RESOURCE_ID
#undef DECLARE_RESOURCE_ID

#endif  // COMPONENTS_RESOURCES_ANDROID_THEME_RESOURCES_H_