From 2a7444d52ebf39d5c3db779d75d1a1c440a9902b Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Tue, 13 Jul 2010 22:57:54 +0000 Subject: Clean up browser_resources.grd: * Flatten HTML where possible * Move resources only referenced by files in browser/resources/ into there (and out of the theme dir) * Remove duplicate/unreferenced resources * Remove IDs for resources that are inlined due to flattening * Remove IDR_CHAT_MANAGER_MANIFEST but leave the files on disk (they will be moving elsewhere some time soon) BUG=none TEST=none Review URL: http://codereview.chromium.org/2897015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52239 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/about_memory.html | 4 ++-- chrome/browser/resources/about_memory_linux.html | 4 ++-- chrome/browser/resources/about_memory_mac.html | 4 ++-- chrome/browser/resources/about_sys.html | 2 +- chrome/browser/resources/app_gallery_icon.png | Bin 6497 -> 0 bytes chrome/browser/resources/downloads.html | 2 +- chrome/browser/resources/extensions_ui.html | 6 +++--- chrome/browser/resources/filebrowse.html | 18 +++++++++--------- chrome/browser/resources/gear.png | Bin 357 -> 0 bytes chrome/browser/resources/gray.png | Bin 161 -> 0 bytes chrome/browser/resources/help.gif | Bin 205 -> 0 bytes chrome/browser/resources/history.html | 4 ++-- chrome/browser/resources/history2.html | 4 ++-- chrome/browser/resources/incognito_tab.html | 2 +- chrome/browser/resources/media_common.js | 19 ------------------- chrome/browser/resources/mediaplayer.html | 18 +++++++++--------- chrome/browser/resources/minus.png | Bin 320 -> 0 bytes chrome/browser/resources/new_new_tab.css | 6 +++--- chrome/browser/resources/ntp/checkbox_black.png | Bin 0 -> 192 bytes chrome/browser/resources/ntp/checkbox_white.png | Bin 0 -> 200 bytes chrome/browser/resources/ntp/closed_window.png | Bin 0 -> 272 bytes chrome/browser/resources/ntp/most_visited.css | 18 +++++++++--------- chrome/browser/resources/ntp/ntp_close.png | Bin 0 -> 178 bytes chrome/browser/resources/ntp/ntp_close_h.png | Bin 0 -> 175 bytes chrome/browser/resources/ntp/ntp_close_p.png | Bin 0 -> 196 bytes chrome/browser/resources/ntp/ntp_pin_off.png | Bin 0 -> 196 bytes chrome/browser/resources/ntp/ntp_pin_off_h.png | Bin 0 -> 202 bytes chrome/browser/resources/ntp/ntp_pin_off_p.png | Bin 0 -> 237 bytes chrome/browser/resources/ntp/ntp_pin_on.png | Bin 0 -> 218 bytes chrome/browser/resources/ntp/ntp_pin_on_h.png | Bin 0 -> 219 bytes chrome/browser/resources/ntp/ntp_pin_on_p.png | Bin 0 -> 239 bytes chrome/browser/resources/phishing_icon.png | Bin 4645 -> 0 bytes chrome/browser/resources/plugins.html | 4 ++-- chrome/browser/resources/plus.png | Bin 336 -> 0 bytes .../resources/safe_browsing_malware_block.html | 2 +- .../safe_browsing_multiple_threat_block.html | 2 +- .../resources/safe_browsing_phishing_block.html | 2 +- .../resources/shared/images/downloads_section.png | Bin 0 -> 4468 bytes .../resources/shared/images/filebrowse_back.png | Bin 0 -> 3090 bytes .../shared/images/filebrowse_fullscreen.png | Bin 0 -> 1005 bytes .../resources/shared/images/filebrowse_menu.png | Bin 0 -> 2853 bytes chrome/browser/resources/shared/images/gear.png | Bin 0 -> 357 bytes chrome/browser/resources/shared/images/help.gif | Bin 0 -> 205 bytes .../resources/shared/images/history_section.png | Bin 0 -> 4949 bytes chrome/browser/resources/shared/images/icon_file.png | Bin 0 -> 177 bytes .../browser/resources/shared/images/icon_folder.png | Bin 0 -> 170 bytes .../browser/resources/shared/images/icon_media.png | Bin 0 -> 188 bytes .../browser/resources/shared/images/icon_photo.png | Bin 0 -> 233 bytes .../shared/images/mediaplayer_full_screen.png | Bin 0 -> 773 bytes .../resources/shared/images/mediaplayer_next.png | Bin 0 -> 388 bytes .../resources/shared/images/mediaplayer_pause.png | Bin 0 -> 214 bytes .../resources/shared/images/mediaplayer_play.png | Bin 0 -> 340 bytes .../resources/shared/images/mediaplayer_playlist.png | Bin 0 -> 121 bytes .../resources/shared/images/mediaplayer_prev.png | Bin 0 -> 407 bytes .../resources/shared/images/mediaplayer_vol_high.png | Bin 0 -> 643 bytes .../resources/shared/images/mediaplayer_vol_mute.png | Bin 0 -> 649 bytes chrome/browser/resources/shared/images/minus.png | Bin 0 -> 320 bytes .../resources/shared/images/otr_icon_standalone.png | Bin 0 -> 1544 bytes .../resources/shared/images/phishing_icon.png | Bin 0 -> 4645 bytes chrome/browser/resources/shared/images/plus.png | Bin 0 -> 336 bytes .../browser/resources/shared/images/star_small.png | Bin 0 -> 556 bytes chrome/browser/resources/shared/js/media_common.js | 19 +++++++++++++++++++ chrome/browser/resources/slideshow.html | 6 +++--- 63 files changed, 73 insertions(+), 73 deletions(-) delete mode 100644 chrome/browser/resources/app_gallery_icon.png delete mode 100644 chrome/browser/resources/gear.png delete mode 100644 chrome/browser/resources/gray.png delete mode 100644 chrome/browser/resources/help.gif delete mode 100644 chrome/browser/resources/media_common.js delete mode 100644 chrome/browser/resources/minus.png create mode 100644 chrome/browser/resources/ntp/checkbox_black.png create mode 100644 chrome/browser/resources/ntp/checkbox_white.png create mode 100644 chrome/browser/resources/ntp/closed_window.png create mode 100644 chrome/browser/resources/ntp/ntp_close.png create mode 100644 chrome/browser/resources/ntp/ntp_close_h.png create mode 100644 chrome/browser/resources/ntp/ntp_close_p.png create mode 100644 chrome/browser/resources/ntp/ntp_pin_off.png create mode 100644 chrome/browser/resources/ntp/ntp_pin_off_h.png create mode 100644 chrome/browser/resources/ntp/ntp_pin_off_p.png create mode 100644 chrome/browser/resources/ntp/ntp_pin_on.png create mode 100644 chrome/browser/resources/ntp/ntp_pin_on_h.png create mode 100644 chrome/browser/resources/ntp/ntp_pin_on_p.png delete mode 100644 chrome/browser/resources/phishing_icon.png delete mode 100644 chrome/browser/resources/plus.png create mode 100644 chrome/browser/resources/shared/images/downloads_section.png create mode 100644 chrome/browser/resources/shared/images/filebrowse_back.png create mode 100644 chrome/browser/resources/shared/images/filebrowse_fullscreen.png create mode 100644 chrome/browser/resources/shared/images/filebrowse_menu.png create mode 100644 chrome/browser/resources/shared/images/gear.png create mode 100644 chrome/browser/resources/shared/images/help.gif create mode 100644 chrome/browser/resources/shared/images/history_section.png create mode 100644 chrome/browser/resources/shared/images/icon_file.png create mode 100644 chrome/browser/resources/shared/images/icon_folder.png create mode 100644 chrome/browser/resources/shared/images/icon_media.png create mode 100644 chrome/browser/resources/shared/images/icon_photo.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_full_screen.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_next.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_pause.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_play.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_playlist.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_prev.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_vol_high.png create mode 100644 chrome/browser/resources/shared/images/mediaplayer_vol_mute.png create mode 100644 chrome/browser/resources/shared/images/minus.png create mode 100644 chrome/browser/resources/shared/images/otr_icon_standalone.png create mode 100644 chrome/browser/resources/shared/images/phishing_icon.png create mode 100644 chrome/browser/resources/shared/images/plus.png create mode 100644 chrome/browser/resources/shared/images/star_small.png create mode 100644 chrome/browser/resources/shared/js/media_common.js (limited to 'chrome/browser/resources') diff --git a/chrome/browser/resources/about_memory.html b/chrome/browser/resources/about_memory.html index 6259052..0dbc2a1 100644 --- a/chrome/browser/resources/about_memory.html +++ b/chrome/browser/resources/about_memory.html @@ -69,7 +69,7 @@ div#header h1 { padding-left: 37px; margin: 0; display: inline; - background: url('gear.png') 12px 60% no-repeat; + background: url('shared/images/gear.png') 12px 60% no-repeat; color: white; } div#header p { @@ -290,7 +290,7 @@ div.help { width: 14px; margin: -1px 0; height: 14px; - background: url('help.gif') center bottom no-repeat; + background: url('shared/images/help.gif') center bottom no-repeat; opacity: 0.33; } div.help:hover { diff --git a/chrome/browser/resources/about_memory_linux.html b/chrome/browser/resources/about_memory_linux.html index 2e92150..0d4c904 100644 --- a/chrome/browser/resources/about_memory_linux.html +++ b/chrome/browser/resources/about_memory_linux.html @@ -69,7 +69,7 @@ div#header h1 { padding-left: 37px; margin: 0; display: inline; - background: url('gear.png') 12px 60% no-repeat; + background: url('shared/images/gear.png') 12px 60% no-repeat; color: white; } div#header p { @@ -288,7 +288,7 @@ div.help { width: 14px; margin: -1px 0; height: 14px; - background: url('help.gif') center bottom no-repeat; + background: url('shared/images/help.gif') center bottom no-repeat; opacity: 0.33; } div.help:hover { diff --git a/chrome/browser/resources/about_memory_mac.html b/chrome/browser/resources/about_memory_mac.html index ebdfd12..299a875 100644 --- a/chrome/browser/resources/about_memory_mac.html +++ b/chrome/browser/resources/about_memory_mac.html @@ -69,7 +69,7 @@ div#header h1 { padding-left: 37px; margin: 0; display: inline; - background: url('gear.png') 12px 60% no-repeat; + background: url('shared/images/gear.png') 12px 60% no-repeat; color: white; } div#header p { @@ -288,7 +288,7 @@ div.help { width: 14px; margin: -1px 0; height: 14px; - background: url('help.gif') center bottom no-repeat; + background: url('shared/images/help.gif') center bottom no-repeat; opacity: 0.33; } div.help:hover { diff --git a/chrome/browser/resources/about_sys.html b/chrome/browser/resources/about_sys.html index 4c88c54..dbae643 100644 --- a/chrome/browser/resources/about_sys.html +++ b/chrome/browser/resources/about_sys.html @@ -55,7 +55,7 @@ div#header h1 { padding-left: 3em; margin: 0; display: inline; - background: url('gear.png') 12px 60% no-repeat; + background: url('shared/images/gear.png') 12px 60% no-repeat; color: white; } div#header p { diff --git a/chrome/browser/resources/app_gallery_icon.png b/chrome/browser/resources/app_gallery_icon.png deleted file mode 100644 index d45242d..0000000 Binary files a/chrome/browser/resources/app_gallery_icon.png and /dev/null differ diff --git a/chrome/browser/resources/downloads.html b/chrome/browser/resources/downloads.html index 0cfbae5..77b60f1 100644 --- a/chrome/browser/resources/downloads.html +++ b/chrome/browser/resources/downloads.html @@ -759,7 +759,7 @@ function downloadUpdated(results) {
-
+ src="shared/images/minus.png"> + onclick="toggleDeveloperMode();" src="shared/images/plus.png">