summaryrefslogtreecommitdiff
path: root/chromium/tools/gritsettings/resource_ids
blob: 2fd30d8d60da5d405ea8ac624aaa68f7630fe3da (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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
# Copyright (c) 2012 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.
#
# The entries below are organized into sections. When adding new entries,
# please use the right section. Try to keep entries in alphabetical order.
#
# - chrome/app/
# - chrome/browser/
# - chrome/ miscellaneous
# - components/
# - content/
# - ios/ (overlaps with chrome/ and content/)
# - everything else
#
# The range of ID values, which is used by pak files, is from 0 to 2^16 - 1.
{
  # The first entry in the file, SRCDIR, is special: It is a relative path from
  # this file to the base of your checkout.
  "SRCDIR": "../..",

  # START chrome/app section.
  # Previous versions of this file started with resource id 400, so stick with
  # that.
  #
  # chrome/ and ios/chrome/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  # 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": [400],
  },
  "chrome/app/google_chrome_strings.grd": {
    "messages": [400],
  },

  # Leave lots of space for generated_resources since it has most of our
  # strings.
  "chrome/app/generated_resources.grd": {
    "messages": [800],
  },

  "chrome/app/resources/locale_settings.grd": {
    "messages": [10000],
  },

  # These each start with the same resource id because we only use one
  # file for each build (chromiumos, google_chromeos, linux, mac, or win).
  "chrome/app/resources/locale_settings_chromiumos.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_google_chromeos.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_linux.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_mac.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_win.grd": {
    "messages": [10100],
  },

  "chrome/app/theme/chrome_unscaled_resources.grd": {
    "includes": [10150],
  },

  # Leave space for theme_resources since it has many structures.
  "chrome/app/theme/theme_resources.grd": {
    "structures": [10200],
  },
  # END chrome/app section.

  # START chrome/browser section.
  "chrome/browser/browser_resources.grd": {
    "includes": [11000],
    "structures": [11470],
  },
  "chrome/browser/resources/component_extension_resources.grd": {
    "includes": [11560],
    "structures": [11810],
  },
  "chrome/browser/resources/invalidations_resources.grd": {
    "includes": [11860],
  },
  "chrome/browser/resources/md_extensions/extensions_resources_vulcanized.grd": {
    "includes": [11900],
  },
  "chrome/browser/resources/md_extensions/extensions_resources.grd": {
    "structures": [11910],
  },
  "chrome/browser/resources/net_internals_resources.grd": {
    "includes": [12000],
  },
  "chrome/browser/resources/password_manager_internals_resources.grd": {
    "includes": [12040],
  },
  "chrome/browser/resources/quota_internals_resources.grd": {
    "includes": [12050],
  },
  "chrome/browser/resources/settings/settings_resources_vulcanized.grd": {
    "includes": [12070],
  },
  "chrome/browser/resources/settings/settings_resources.grd": {
    "structures": [12080],
  },
  "chrome/browser/resources/sync_file_system_internals_resources.grd": {
    "includes": [12580],
  },
  "chrome/browser/resources/task_scheduler_internals/resources.grd": {
    "includes": [12610],
  },
  "chrome/browser/resources/translate_internals_resources.grd": {
    "includes": [12620],
  },
  "chrome/browser/resources/vr_shell_resources.grd": {
    "includes": [12630],
  },
  "chrome/browser/resources/webapks_ui_resources.grd": {
    "includes": [12640],
  },
  "chrome/browser/resources/qt_webengine_resources.grd": {
    "includes": [12650],
  },
  # END chrome/browser section.

  # START chrome/ miscellaneous section.
  "chrome/common/common_resources.grd": {
    "includes": [12750],
  },
  "chrome/renderer/resources/renderer_resources.grd": {
    "includes": [12760],
    "structures": [12840],
  },
  "chrome/test/data/webui_test_resources.grd": {
    "includes": [12850],
  },
  # END chrome/ miscellaneous section.

  # START components/ section.
  #
  # 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.
  "components/components_chromium_strings.grd": {
    "messages": [15000],
  },
  "components/components_google_chrome_strings.grd": {
    "messages": [15000],
  },

  "components/components_locale_settings.grd": {
    "includes": [15020],
    "messages": [15030],
  },
  "components/components_strings.grd": {
    "messages": [15040],
  },
  "components/chrome_apps/chrome_apps_resources.grd": {
    "includes": [16000],
  },
  "components/policy/resources/policy_templates.grd": {
    "structures": [16020],
  },
  "components/resources/components_resources.grd": {
    "includes": [16130],
  },
  "components/resources/components_scaled_resources.grd": {
    "structures": [16250],
  },
  "components/autofill/android/autofill_strings.grd": {
    "messages": [16350],
  },
  "components/web_contents_delegate_android/web_contents_delegate_android_strings.grd": {
    "messages": [16370],
  },
  # END components/ section.

  # START content/ section.
  # content/ and ios/web/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  "content/app/resources/content_resources.grd": {
    "structures": [20000],
  },
  "content/app/strings/content_strings.grd": {
    "messages": [20100],
  },
  "content/content_resources.grd": {
    "includes": [20400],
  },
  "content/shell/shell_resources.grd": {
    "includes": [20500],
  },

  # This file is generated during the build.
  "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": {
    "includes": [20550],
  },
  # END content/ section.

  # START ios/ section.
  #
  # chrome/ and ios/chrome/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  "ios/chrome/app/resources/ios_resources.grd": {
    "includes": [400],
    "structures": [1000],
  },

  # 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.
  "ios/chrome/app/strings/ios_chromium_strings.grd": {
    "messages": [1500],
  },
  "ios/chrome/app/strings/ios_google_chrome_strings.grd": {
    "messages": [1500],
  },

  "ios/chrome/app/strings/ios_strings.grd": {
    "messages": [2000],
  },
  "ios/chrome/app/theme/ios_theme_resources.grd": {
    "structures": [2500],
  },
  "ios/chrome/share_extension/strings/ios_share_extension_strings.grd": {
    "messages": [3000],
  },
  "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_strings.grd": {
    "messages": [3050],
  },
  "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_chromium_strings.grd": {
    "messages": [3070],
  },
  "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_google_chrome_strings.grd": {
    "messages": [3070],
  },
  "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_chromium_strings.grd": {
    "messages": [3080],
  },
  "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_google_chrome_strings.grd": {
    "messages": [3080],
  },

  # content/ and ios/web/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  "ios/web/ios_web_resources.grd": {
    "includes": [20000],
  },
  "ios/web/shell/shell_resources.grd": {
    "includes": [21500],
  },
  "ios/web/test/test_resources.grd": {
    "includes": [22000],
  },
  # END ios/ section.

  # START "everything else" section.
  # Everything but chrome/, components/, content/, and ios/
  "android_webview/ui/aw_resources.grd": {
    "includes": [23500],
  },
  "android_webview/ui/aw_strings.grd": {
    "messages": [23510],
  },

  "ash/ash_strings.grd": {
    "messages": [23520],
  },
  "ash/resources/ash_resources.grd": {
    "structures": [23920],
  },

  # //blimp used to have IDs from 24200-24299, which are now free to use.

  "chromecast/browser/cast_browser_resources.grd": {
    "includes": [24300],
  },

  "device/bluetooth/bluetooth_strings.grd": {
    "messages": [24400],
  },

  "extensions/browser/resources/extensions_browser_resources.grd": {
    "structures": [24450],
  },
  "extensions/extensions_resources.grd": {
    "includes": [24460],
  },
  "extensions/renderer/resources/extensions_renderer_resources.grd": {
    "includes": [24470],
    "structures": [24600],
  },
  "extensions/shell/app_shell_resources.grd": {
    "includes": [24610],
  },
  "extensions/strings/extensions_strings.grd": {
    "messages": [24620],
  },

  "headless/lib/resources/headless_lib_resources.grd": {
    "includes": [24700],
  },

  "net/base/net_resources.grd": {
    "includes": [24750],
  },

  "remoting/resources/remoting_strings.grd": {
    "messages": [24800],
  },

  "third_party/WebKit/public/blink_image_resources.grd": {
    "structures": [25300],
  },
  "third_party/WebKit/public/blink_resources.grd": {
    "includes": [25400],
  },
  "third_party/WebKit/Source/modules/media_controls/resources/media_controls_resources.grd": {
    "includes": [25500],
    "structures": [25600],
  },

  "ui/app_list/resources/app_list_resources.grd": {
    "structures": [25800],
  },
  "ui/chromeos/resources/ui_chromeos_resources.grd": {
    "structures": [25820],
  },
  "ui/chromeos/ui_chromeos_strings.grd": {
    "messages": [25920],
  },
  "ui/file_manager/file_manager_resources.grd": {
    "includes": [26150],
  },
  "ui/keyboard/keyboard_resources.grd": {
    "includes": [26400],
  },
  "ui/login/login_resources.grd": {
    "includes": [26500],
  },
  "ui/resources/ui_resources.grd": {
    "structures": [26600],
  },
  "ui/resources/ui_unscaled_resources.grd": {
    "includes": [26850],
  },
  "ui/strings/app_locale_settings.grd": {
    "messages": [26900],
  },
  "ui/strings/ui_strings.grd": {
    "messages": [26950],
  },
  "ui/views/resources/views_resources.grd": {
    "structures": [27150],
  },
  "ui/webui/resources/webui_resources.grd": {
    "includes": [27450],
    "structures": [27650],
  },

  # This file is generated during the build.
  "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": {
    "includes": [28450],
  },
  "devtools_resources.grd": {
    "includes": [28450],
  },

  "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": {
    "includes": [28600],
	"messages": [28650],
  },

  "third_party/libaddressinput/chromium/address_input_strings.grd": {
    "messages": [28700],
  },
  # END "everything else" section.
  # Everything but chrome/, components/, content/, and ios/

  # Thinking about appending to the end?
  # Please read the header and find the right section above instead.

  # Resource ids starting at 31000 are reserved for projects built on Chromium.
}