summaryrefslogtreecommitdiffstats
path: root/tools/grit/resource_ids
blob: b8d09ec708a4496273b36f9557efe6769fa9a774 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# Copyright (c) 2011 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.
#
# This file is used to assign starting resource ids for resources and strings
# used by Chromium.  This is done to ensure that resource ids are unique
# across all the grd files.  If you are adding a new grd file, please add
# a new entry to this file.
#
# http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx says that the
# range for IDR_ is 1 to 28,671 and the range for IDS_ is 1 to 32,767 and
# common convention starts practical use of IDs at 100 or 101.
{
  "chrome/browser/browser_resources.grd": {
    "includes": [500],
  },
  "chrome/browser/resources/component_extension_resources.grd": {
    "includes": [1000],
  },
  "chrome/browser/resources/net_internals_resources.grd": {
    "includes": [1500],
  },
  "chrome/browser/resources/shared_resources.grd": {
    "includes": [2000],
  },
  "chrome/common/common_resources.grd": {
    "includes": [2500],
  },
  "chrome/default_plugin/default_plugin_resources.grd": {
    "includes": [3000],
  },
  "chrome/renderer/renderer_resources.grd": {
    "includes": [3500],
  },
  "net/base/net_resources.grd": {
    "includes": [4000],
  },
  "webkit/glue/webkit_resources.grd": {
    "includes": [4500],
  },
  "webkit/tools/test_shell/test_shell_resources.grd": {
    "includes": [5000],
  },
  "ui/resources/ui_resources.grd": {
    "includes": [5500],
  },
  "chrome/app/theme/theme_resources.grd": {
    "includes": [6000],
  },
  "chrome_frame/resources/chrome_frame_resources.grd": {
    "includes": [6500],
  },
  # WebKit.grd can be in two different places depending on whether we are
  # in a chromium checkout or a webkit-only checkout.
  "third_party/WebKit/Source/WebKit/chromium/WebKit.grd": {
    "includes": [7000],
  },
  "WebKit.grd": {
    "includes": [7000],
  },

  "ui/base/strings/app_locale_settings.grd": {
    "messages": [7500],
  },
  "chrome/app/resources/locale_settings.grd": {
    "includes": [8000],
    "messages": [8500],
  },
  # These each start with the same resource id because we only use one
  # file for each build (cros, linux, mac, or win).
  "chrome/app/resources/locale_settings_cros.grd": {
    "messages": [9000],
  },
  "chrome/app/resources/locale_settings_linux.grd": {
    "messages": [9000],
  },
  "chrome/app/resources/locale_settings_mac.grd": {
    "messages": [9000],
  },
  "chrome/app/resources/locale_settings_win.grd": {
    "messages": [9000],
  },

  "ui/base/strings/ui_strings.grd": {
    "messages": [9500],
  },
  # Chromium strings and Google Chrome strings must start at the same id.
  # We only use one file depending on whether we're building Chromium or
  # Google Chrome.
  "chrome/app/chromium_strings.grd": {
    "messages": [10000],
  },
  "chrome/app/google_chrome_strings.grd": {
    "messages": [10000],
  },
  # Leave lots of space for generated_resources since it has most of our
  # strings.
  "chrome/app/generated_resources.grd": {
    "structures": [10500],
    "messages": [11000],
  },
  # The chrome frame dialogs are also in generated_resources.grd so they
  # get included by the translation console.  We make sure that the ids
  # for structures here are the same as for generated_resources.grd.
  "chrome_frame/resources/chrome_frame_dialogs.grd": {
    "structures": [10500],
    "includes": [10750],
  },
  "webkit/glue/inspector_strings.grd": {
    "messages": [16000],
  },
  "webkit/glue/webkit_strings.grd": {
    "messages": [16500],
  },

  "chrome_frame/resources/chrome_frame_resources.grd": {
    "includes": [17500],
    "structures": [18000],
  },

  "ui/gfx/gfx_resources.grd": {
    "includes": [18500],
  },

  "chrome/app/policy/policy_templates.grd": {
    "structures": [19000],
    "messages": [19010],
  },

  "chrome/browser/autofill/autofill_resources.grd": {
    "messages": [19500],
  },
  "chrome/browser/resources/sync_internals_resources.grd": {
    "includes": [20000],
  },
  # This file is generated during the build.
  "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": {
    "includes": [20500],
  },
  # All standard and large theme resources should have the same IDs.
  "chrome/app/theme/theme_resources_standard.grd": {
    "includes": [21000],
  },
  "chrome/app/theme/theme_resources_large.grd": {
    "includes": [21000],
  },
  # This file is generated during the build.
  "chrome/browser/debugger/frontend/devtools_frontend_resources.grd": {
    "includes": [21500],
  },
  "chrome/browser/resources/options_resources.grd": {
    "includes": [22000],
  },
  "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": {
    "messages": [22500],
  },
  "chrome/browser/resources/quota_internals_resources.grd": {
    "includes": [23000],
  },
  "chrome/browser/resources/workers_resources.grd": {
    "includes": [23500],
  },
  # All standard and large theme resources should have the same IDs.
  "ui/resources/ui_resources_standard.grd": {
    "includes": [24000],
  },
  "ui/resources/ui_resources_large.grd": {
    "includes": [24000],
  },
}