summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 03:31:29 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 03:31:29 +0000
commit8d0d4f7d4acd0f59446d64d1520dbfa2444a9f7b (patch)
tree37069fec5cc06390162940098c2ac6fb2755754c
parentd435b2a9a432a34f8218c79de68ba7cfd768c179 (diff)
downloadchromium_src-8d0d4f7d4acd0f59446d64d1520dbfa2444a9f7b.zip
chromium_src-8d0d4f7d4acd0f59446d64d1520dbfa2444a9f7b.tar.gz
chromium_src-8d0d4f7d4acd0f59446d64d1520dbfa2444a9f7b.tar.bz2
Refactor chrome/renderer resources so they support images with different scale.
BUG=140482 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155936 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/chrome_repack_chrome.gypi1
-rw-r--r--chrome/chrome_repack_chrome_100_percent.gypi1
-rw-r--r--chrome/chrome_repack_chrome_200_percent.gypi1
-rw-r--r--chrome/chrome_resources.gyp2
-rw-r--r--chrome/renderer/renderer_resources.grd81
-rw-r--r--chrome/renderer/resources/renderer_resources.grd84
-rwxr-xr-xchrome/tools/check_grd_for_unused_strings.py3
-rw-r--r--tools/gritsettings/resource_ids3
8 files changed, 91 insertions, 85 deletions
diff --git a/chrome/chrome_repack_chrome.gypi b/chrome/chrome_repack_chrome.gypi
index e977142..8dedcd8 100644
--- a/chrome/chrome_repack_chrome.gypi
+++ b/chrome/chrome_repack_chrome.gypi
@@ -7,7 +7,6 @@
'pak_inputs': [
'<(grit_out_dir)/browser_resources.pak',
'<(grit_out_dir)/common_resources.pak',
- '<(grit_out_dir)/renderer_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
diff --git a/chrome/chrome_repack_chrome_100_percent.gypi b/chrome/chrome_repack_chrome_100_percent.gypi
index d5abf53..8759593 100644
--- a/chrome/chrome_repack_chrome_100_percent.gypi
+++ b/chrome/chrome_repack_chrome_100_percent.gypi
@@ -5,6 +5,7 @@
'action_name': 'repack_chrome_resources_100_percent',
'variables': {
'pak_inputs': [
+ '<(grit_out_dir)/renderer_resources_100_percent.pak',
'<(grit_out_dir)/theme_resources_100_percent.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
],
diff --git a/chrome/chrome_repack_chrome_200_percent.gypi b/chrome/chrome_repack_chrome_200_percent.gypi
index 8384b9ec..1d1da38 100644
--- a/chrome/chrome_repack_chrome_200_percent.gypi
+++ b/chrome/chrome_repack_chrome_200_percent.gypi
@@ -5,6 +5,7 @@
'action_name': 'repack_chrome_resources_200_percent',
'variables': {
'pak_inputs': [
+ '<(grit_out_dir)/renderer_resources_200_percent.pak',
'<(grit_out_dir)/theme_resources_200_percent.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_200_percent.pak',
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_200_percent.pak',
diff --git a/chrome/chrome_resources.gyp b/chrome/chrome_resources.gyp
index 2f6b7aa..66f8a88 100644
--- a/chrome/chrome_resources.gyp
+++ b/chrome/chrome_resources.gyp
@@ -104,7 +104,7 @@
{
'action_name': 'renderer_resources',
'variables': {
- 'grit_grd_file': 'renderer/renderer_resources.grd',
+ 'grit_grd_file': 'renderer/resources/renderer_resources.grd',
},
'includes': [ '../build/grit_action.gypi' ],
},
diff --git a/chrome/renderer/renderer_resources.grd b/chrome/renderer/renderer_resources.grd
deleted file mode 100644
index e920874..0000000
--- a/chrome/renderer/renderer_resources.grd
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- This comment is only here because changes to resources are not picked up
-without changes to the corresponding grd file. fb9 -->
-<grit latest_public_release="0" current_release="1">
- <outputs>
- <output filename="grit/renderer_resources.h" type="rc_header">
- <emit emit_type='prepend'></emit>
- </output>
- <output filename="renderer_resources.pak" type="data_package" />
- <output filename="renderer_resources.rc" type="rc_all" />
- </outputs>
- <release seq="1">
- <includes>
- <if expr="pp_ifdef('android')">
- <include name="IDR_MOBILE_YOUTUBE_PLUGIN_HTML" file="resources\mobile_youtube_plugin.html" flattenhtml="true" type="BINDATA" />
- </if>
- <include name="IDR_BLOCKED_PLUGIN_HTML" file="resources\blocked_plugin.html" flattenhtml="true" type="BINDATA" />
- <include name="IDR_CLICK_TO_PLAY_PLUGIN_HTML" file="resources\click_to_play_plugin.html" flattenhtml="true" type="BINDATA" />
- <include name="IDR_DISABLED_PLUGIN_HTML" file="resources\disabled_plugin.html" flattenhtml="true" type="BINDATA" />
- <include name="IDR_ERROR_APP_HTML" file="resources\error_app.html" flattenhtml="true" type="BINDATA" />
- <include name="IDR_EVENT_BINDINGS_JS" file="resources\extensions\event.js" type="BINDATA" />
- <include name="IDR_EXTENSION_APITEST_JS" file="resources\extensions\apitest.js" type="BINDATA" />
- <include name="IDR_GREASEMONKEY_API_JS" file="resources\extensions\greasemonkey_api.js" type="BINDATA" />
- <include name="IDR_SEARCHBOX_API" file="resources\extensions\searchbox_api.js" type="BINDATA" />
- <include name="IDR_JSON_SCHEMA_JS" file="resources\extensions\json_schema.js" type="BINDATA" />
- <include name="IDR_MISCELLANEOUS_BINDINGS_JS" file="resources\extensions\miscellaneous_bindings.js" type="BINDATA" />
- <include name="IDR_NET_ERROR_HTML" file="resources\neterror.html" flattenhtml="true" type="BINDATA" />
- <include name="IDR_SAD_PLUGIN" file="resources\sadplugin.png" type="BINDATA" />
- <include name="IDR_SCHEMA_GENERATED_BINDINGS_JS" file="resources\extensions\schema_generated_bindings.js" type="BINDATA" />
-
- <!-- Libraries. -->
- <include name="IDR_LAST_ERROR_JS" file="resources\extensions\last_error.js" type="BINDATA" />
- <include name="IDR_SCHEMA_UTILS_JS" file="resources\extensions\schema_utils.js" type="BINDATA" />
- <include name="IDR_SEND_REQUEST_JS" file="resources\extensions\send_request.js" type="BINDATA" />
- <include name="IDR_SET_ICON_JS" file="resources\extensions\set_icon.js" type="BINDATA" />
- <include name="IDR_UTILS_JS" file="resources\extensions\utils.js" type="BINDATA" />
-
- <if expr="pp_ifdef('enable_extensions')">
- <!-- Custom bindings for extension APIs. -->
- <include name="IDR_APP_CUSTOM_BINDINGS_JS" file="resources\extensions\app_custom_bindings.js" type="BINDATA" />
- <include name="IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS" file="resources\extensions\app_runtime_custom_bindings.js" type="BINDATA" />
- <include name="IDR_APP_WINDOW_CUSTOM_BINDINGS_JS" file="resources\extensions\app_window_custom_bindings.js" type="BINDATA" />
- <include name="IDR_BROWSER_ACTION_CUSTOM_BINDINGS_JS" file="resources\extensions\browser_action_custom_bindings.js" type="BINDATA" />
- <include name="IDR_BROWSER_TAG_JS" file="resources\extensions\browser_tag.js" type="BINDATA" />
- <include name="IDR_CONTENT_SETTINGS_CUSTOM_BINDINGS_JS" file="resources\extensions\content_settings_custom_bindings.js" type="BINDATA" />
- <include name="IDR_CONTEXT_MENUS_CUSTOM_BINDINGS_JS" file="resources\extensions\context_menus_custom_bindings.js" type="BINDATA" />
- <include name="IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS" file="resources\extensions\declarative_webrequest_custom_bindings.js" type="BINDATA" />
- <include name="IDR_DEVTOOLS_CUSTOM_BINDINGS_JS" file="resources\extensions\devtools_custom_bindings.js" type="BINDATA" />
- <include name="IDR_EXPERIMENTAL_BLUETOOTH_CUSTOM_BINDINGS_JS" file="resources\extensions\experimental.bluetooth_custom_bindings.js" type="BINDATA" />
- <include name="IDR_EXPERIMENTAL_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS" file="resources\extensions\experimental.media_galleries_custom_bindings.js" type="BINDATA" />
- <include name="IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS" file="resources\extensions\experimental.offscreenTabs_custom_bindings.js" type="BINDATA" />
- <include name="IDR_EXPERIMENTAL_USB_CUSTOM_BINDINGS_JS" file="resources\extensions\experimental.usb_custom_bindings.js" type="BINDATA" />
- <include name="IDR_EXTENSION_CUSTOM_BINDINGS_JS" file="resources\extensions\extension_custom_bindings.js" type="BINDATA" />
- <include name="IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS" file="resources\extensions\file_browser_handler_custom_bindings.js" type="BINDATA" />
- <include name="IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS" file="resources\extensions\file_browser_private_custom_bindings.js" type="BINDATA" />
- <include name="IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS" file="resources\extensions\file_system_custom_bindings.js" type="BINDATA" />
- <include name="IDR_I18N_CUSTOM_BINDINGS_JS" file="resources\extensions\i18n_custom_bindings.js" type="BINDATA" />
- <include name="IDR_INPUT_IME_CUSTOM_BINDINGS_JS" file="resources\extensions\input.ime_custom_bindings.js" type="BINDATA" />
- <include name="IDR_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS" file="resources\extensions\media_galleries_custom_bindings.js" type="BINDATA" />
- <include name="IDR_OMNIBOX_CUSTOM_BINDINGS_JS" file="resources\extensions\omnibox_custom_bindings.js" type="BINDATA" />
- <include name="IDR_PAGE_ACTIONS_CUSTOM_BINDINGS_JS" file="resources\extensions\page_actions_custom_bindings.js" type="BINDATA" />
- <include name="IDR_PAGE_ACTION_CUSTOM_BINDINGS_JS" file="resources\extensions\page_action_custom_bindings.js" type="BINDATA" />
- <include name="IDR_PAGE_CAPTURE_CUSTOM_BINDINGS_JS" file="resources\extensions\page_capture_custom_bindings.js" type="BINDATA" />
- <include name="IDR_RUNTIME_CUSTOM_BINDINGS_JS" file="resources\extensions\runtime_custom_bindings.js" type="BINDATA" />
- <include name="IDR_STORAGE_CUSTOM_BINDINGS_JS" file="resources\extensions\storage_custom_bindings.js" type="BINDATA" />
- <include name="IDR_TABS_CUSTOM_BINDINGS_JS" file="resources\extensions\tabs_custom_bindings.js" type="BINDATA" />
- <include name="IDR_TTS_CUSTOM_BINDINGS_JS" file="resources\extensions\tts_custom_bindings.js" type="BINDATA" />
- <include name="IDR_TTS_ENGINE_CUSTOM_BINDINGS_JS" file="resources\extensions\tts_engine_custom_bindings.js" type="BINDATA" />
- <include name="IDR_TYPES_CUSTOM_BINDINGS_JS" file="resources\extensions\types_custom_bindings.js" type="BINDATA" />
- <include name="IDR_WEB_REQUEST_CUSTOM_BINDINGS_JS" file="resources\extensions\web_request_custom_bindings.js" type="BINDATA" />
- <include name="IDR_WEB_REQUEST_INTERNAL_CUSTOM_BINDINGS_JS" file="resources\extensions\web_request_internal_custom_bindings.js" type="BINDATA" />
- <include name="IDR_WEBSTORE_CUSTOM_BINDINGS_JS" file="resources\extensions\webstore_custom_bindings.js" type="BINDATA" />
-
- <!-- Platform app support. -->
- <include name="IDR_PLATFORM_APP_CSS" file="resources\extensions\platform_app.css" type="BINDATA" />
- <include name="IDR_PLATFORM_APP_JS" file="resources\extensions\platform_app.js" type="BINDATA" />
- <include name="IDR_INJECT_APP_TITLEBAR_JS" file="resources\extensions\inject_app_titlebar.js" type="BINDATA" />
- </if>
- </includes>
- </release>
-</grit>
diff --git a/chrome/renderer/resources/renderer_resources.grd b/chrome/renderer/resources/renderer_resources.grd
new file mode 100644
index 0000000..c7c6b69
--- /dev/null
+++ b/chrome/renderer/resources/renderer_resources.grd
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This comment is only here because changes to resources are not picked up
+without changes to the corresponding grd file. fb9 -->
+<grit latest_public_release="0" current_release="1">
+ <outputs>
+ <output filename="grit/renderer_resources.h" type="rc_header" context="default_100_percent">
+ <emit emit_type='prepend'></emit>
+ </output>
+ <output filename="grit/renderer_resources_map.cc" type="resource_map_source" context="default_100_percent" />
+ <output filename="grit/renderer_resources_map.h" type="resource_map_header" context="default_100_percent" />
+ <output filename="renderer_resources_100_percent.pak" type="data_package" context="default_100_percent" />
+ <output filename="renderer_resources_200_percent.pak" type="data_package" context="default_200_percent" />
+ <output filename="renderer_resources.rc" type="rc_all" context="default_100_percent" />
+ </outputs>
+ <release seq="1">
+ <includes>
+ <if expr="pp_ifdef('android')">
+ <include name="IDR_MOBILE_YOUTUBE_PLUGIN_HTML" file="mobile_youtube_plugin.html" flattenhtml="true" type="BINDATA" />
+ </if>
+ <include name="IDR_BLOCKED_PLUGIN_HTML" file="blocked_plugin.html" flattenhtml="true" type="BINDATA" />
+ <include name="IDR_CLICK_TO_PLAY_PLUGIN_HTML" file="click_to_play_plugin.html" flattenhtml="true" type="BINDATA" />
+ <include name="IDR_DISABLED_PLUGIN_HTML" file="disabled_plugin.html" flattenhtml="true" type="BINDATA" />
+ <include name="IDR_ERROR_APP_HTML" file="error_app.html" flattenhtml="true" type="BINDATA" />
+ <include name="IDR_EVENT_BINDINGS_JS" file="extensions\event.js" type="BINDATA" />
+ <include name="IDR_EXTENSION_APITEST_JS" file="extensions\apitest.js" type="BINDATA" />
+ <include name="IDR_GREASEMONKEY_API_JS" file="extensions\greasemonkey_api.js" type="BINDATA" />
+ <include name="IDR_SEARCHBOX_API" file="extensions\searchbox_api.js" type="BINDATA" />
+ <include name="IDR_JSON_SCHEMA_JS" file="extensions\json_schema.js" type="BINDATA" />
+ <include name="IDR_MISCELLANEOUS_BINDINGS_JS" file="extensions\miscellaneous_bindings.js" type="BINDATA" />
+ <include name="IDR_NET_ERROR_HTML" file="neterror.html" flattenhtml="true" type="BINDATA" />
+ <include name="IDR_SAD_PLUGIN" file="sadplugin.png" type="BINDATA" />
+ <include name="IDR_SCHEMA_GENERATED_BINDINGS_JS" file="extensions\schema_generated_bindings.js" type="BINDATA" />
+
+ <!-- Libraries. -->
+ <include name="IDR_LAST_ERROR_JS" file="extensions\last_error.js" type="BINDATA" />
+ <include name="IDR_SCHEMA_UTILS_JS" file="extensions\schema_utils.js" type="BINDATA" />
+ <include name="IDR_SEND_REQUEST_JS" file="extensions\send_request.js" type="BINDATA" />
+ <include name="IDR_SET_ICON_JS" file="extensions\set_icon.js" type="BINDATA" />
+ <include name="IDR_UTILS_JS" file="extensions\utils.js" type="BINDATA" />
+
+ <if expr="pp_ifdef('enable_extensions')">
+ <!-- Custom bindings for extension APIs. -->
+ <include name="IDR_APP_CUSTOM_BINDINGS_JS" file="extensions\app_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS" file="extensions\app_runtime_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_APP_WINDOW_CUSTOM_BINDINGS_JS" file="extensions\app_window_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_BROWSER_ACTION_CUSTOM_BINDINGS_JS" file="extensions\browser_action_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_BROWSER_TAG_JS" file="extensions\browser_tag.js" type="BINDATA" />
+ <include name="IDR_CONTENT_SETTINGS_CUSTOM_BINDINGS_JS" file="extensions\content_settings_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_CONTEXT_MENUS_CUSTOM_BINDINGS_JS" file="extensions\context_menus_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS" file="extensions\declarative_webrequest_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_DEVTOOLS_CUSTOM_BINDINGS_JS" file="extensions\devtools_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_EXPERIMENTAL_BLUETOOTH_CUSTOM_BINDINGS_JS" file="extensions\experimental.bluetooth_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_EXPERIMENTAL_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS" file="extensions\experimental.media_galleries_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS" file="extensions\experimental.offscreenTabs_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_EXPERIMENTAL_USB_CUSTOM_BINDINGS_JS" file="extensions\experimental.usb_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_EXTENSION_CUSTOM_BINDINGS_JS" file="extensions\extension_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS" file="extensions\file_browser_handler_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS" file="extensions\file_browser_private_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS" file="extensions\file_system_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_I18N_CUSTOM_BINDINGS_JS" file="extensions\i18n_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_INPUT_IME_CUSTOM_BINDINGS_JS" file="extensions\input.ime_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS" file="extensions\media_galleries_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_OMNIBOX_CUSTOM_BINDINGS_JS" file="extensions\omnibox_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_PAGE_ACTIONS_CUSTOM_BINDINGS_JS" file="extensions\page_actions_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_PAGE_ACTION_CUSTOM_BINDINGS_JS" file="extensions\page_action_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_PAGE_CAPTURE_CUSTOM_BINDINGS_JS" file="extensions\page_capture_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_RUNTIME_CUSTOM_BINDINGS_JS" file="extensions\runtime_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_STORAGE_CUSTOM_BINDINGS_JS" file="extensions\storage_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_TABS_CUSTOM_BINDINGS_JS" file="extensions\tabs_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_TTS_CUSTOM_BINDINGS_JS" file="extensions\tts_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_TTS_ENGINE_CUSTOM_BINDINGS_JS" file="extensions\tts_engine_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_TYPES_CUSTOM_BINDINGS_JS" file="extensions\types_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_WEB_REQUEST_CUSTOM_BINDINGS_JS" file="extensions\web_request_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_WEB_REQUEST_INTERNAL_CUSTOM_BINDINGS_JS" file="extensions\web_request_internal_custom_bindings.js" type="BINDATA" />
+ <include name="IDR_WEBSTORE_CUSTOM_BINDINGS_JS" file="extensions\webstore_custom_bindings.js" type="BINDATA" />
+
+ <!-- Platform app support. -->
+ <include name="IDR_PLATFORM_APP_CSS" file="extensions\platform_app.css" type="BINDATA" />
+ <include name="IDR_PLATFORM_APP_JS" file="extensions\platform_app.js" type="BINDATA" />
+ <include name="IDR_INJECT_APP_TITLEBAR_JS" file="extensions\inject_app_titlebar.js" type="BINDATA" />
+ </if>
+ </includes>
+ </release>
+</grit>
diff --git a/chrome/tools/check_grd_for_unused_strings.py b/chrome/tools/check_grd_for_unused_strings.py
index ff1ad66..fa757b1 100755
--- a/chrome/tools/check_grd_for_unused_strings.py
+++ b/chrome/tools/check_grd_for_unused_strings.py
@@ -146,7 +146,8 @@ def main():
os.path.join(chrome_dir, 'browser', 'browser_resources.grd'),
os.path.join(chrome_dir, 'browser', 'resources', 'shared_resources.grd'),
os.path.join(chrome_dir, 'common', 'common_resources.grd'),
- os.path.join(chrome_dir, 'renderer', 'renderer_resources.grd'),
+ os.path.join(chrome_dir, 'renderer', 'resources',
+ 'renderer_resources.grd'),
os.path.join(src_dir, 'ui', 'resources', 'ui_resources.grd'),
os.path.join(src_dir, 'ui', 'resources', 'ui_resources_wallpapers.grd'),
os.path.join(ui_base_strings_dir, 'app_locale_settings.grd'),
diff --git a/tools/gritsettings/resource_ids b/tools/gritsettings/resource_ids
index 1796eea..077cffa 100644
--- a/tools/gritsettings/resource_ids
+++ b/tools/gritsettings/resource_ids
@@ -34,8 +34,9 @@
"chrome/common/common_resources.grd": {
"includes": [2500],
},
- "chrome/renderer/renderer_resources.grd": {
+ "chrome/renderer/resources/renderer_resources.grd": {
"includes": [3500],
+ "structures": [3700],
},
"net/base/net_resources.grd": {
"includes": [4000],