Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 # | 4 # |
| 5 # This file is used to assign starting resource ids for resources and strings | 5 # This file is used to assign starting resource ids for resources and strings |
| 6 # used by Chromium. This is done to ensure that resource ids are unique | 6 # used by Chromium. This is done to ensure that resource ids are unique |
| 7 # across all the grd files. If you are adding a new grd file, please add | 7 # across all the grd files. If you are adding a new grd file, please add |
| 8 # a new entry to this file. | 8 # a new entry to this file. |
| 9 # | 9 # |
| 10 # The first entry in the file, SRCDIR, is special: It is a relative path from | 10 # The first entry in the file, SRCDIR, is special: It is a relative path from |
| 11 # this file to the base of your checkout. | 11 # this file to the base of your checkout. |
| 12 # | 12 # |
| 13 # http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx says that the | 13 # http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx says that the |
| 14 # range for IDR_ is 1 to 28,671 and the range for IDS_ is 1 to 32,767 and | 14 # range for IDR_ is 1 to 28,671 and the range for IDS_ is 1 to 32,767 and |
| 15 # common convention starts practical use of IDs at 100 or 101. | 15 # common convention starts practical use of IDs at 100 or 101. |
|
tony
2014/09/25 00:51:41
We might want to update this comment since we no l
pkotwicz
2014/09/25 01:33:44
What do you suggest changing the comment to?
tony
2014/09/25 03:35:21
"The range of ID values, which is used by pak file
| |
| 16 { | 16 { |
| 17 "SRCDIR": "../..", | 17 "SRCDIR": "../..", |
| 18 | 18 |
| 19 "chrome/browser/browser_resources.grd": { | 19 "chrome/browser/browser_resources.grd": { |
| 20 "includes": [400], | 20 "includes": [400], |
| 21 "structures": [750], | 21 "structures": [750], |
| 22 }, | 22 }, |
| 23 "chrome/browser/resources/component_extension_resources.grd": { | 23 "chrome/browser/resources/component_extension_resources.grd": { |
| 24 "includes": [1000], | 24 "includes": [1000], |
| 25 "structures": [1450], | 25 "structures": [1450], |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 216 }, | 216 }, |
| 217 "components/resources/components_resources.grd": { | 217 "components/resources/components_resources.grd": { |
| 218 "includes": [30250], | 218 "includes": [30250], |
| 219 }, | 219 }, |
| 220 "components/resources/components_scaled_resources.grd": { | 220 "components/resources/components_scaled_resources.grd": { |
| 221 "structures": [30350], | 221 "structures": [30350], |
| 222 }, | 222 }, |
| 223 "third_party/WebKit/public/blink_resources.grd": { | 223 "third_party/WebKit/public/blink_resources.grd": { |
| 224 "includes": [30500], | 224 "includes": [30500], |
| 225 }, | 225 }, |
| 226 "athena/strings/athena_strings.grd": { | |
| 227 "messages": [42000], | |
| 228 }, | |
| 226 | 229 |
| 227 # These files don't need to reserve resource ids, but are listed here so that | 230 # These files don't need to reserve resource ids, but are listed here so that |
| 228 # translation scripts know of their existence. | 231 # translation scripts know of their existence. |
| 229 "android_webview/java/strings/android_webview_strings.grd": {}, | 232 "android_webview/java/strings/android_webview_strings.grd": {}, |
| 230 "chrome/android/java/strings/android_chrome_strings.grd": {}, | 233 "chrome/android/java/strings/android_chrome_strings.grd": {}, |
| 231 "content/public/android/java/strings/android_content_strings.grd": {}, | 234 "content/public/android/java/strings/android_content_strings.grd": {}, |
| 232 "ui/android/java/strings/android_ui_strings.grd": {}, | 235 "ui/android/java/strings/android_ui_strings.grd": {}, |
| 233 | 236 |
| 234 # Resource ids starting at 31000 are reserved for projects built on Chromium. | 237 # Resource ids starting at 31000 are reserved for projects built on Chromium. |
| 235 } | 238 } |
| OLD | NEW |