diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 18:44:24 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 18:44:24 +0000 |
commit | 4c619e3b7771d9f27a748bcdfe1fd857b13d7d8e (patch) | |
tree | 4a60ebdbf7cb2a09aed6e5689fa63e5dc6af8cb6 | |
parent | de32e5eec767c4472d708488f98619c7bc2f7227 (diff) | |
download | chromium_src-4c619e3b7771d9f27a748bcdfe1fd857b13d7d8e.zip chromium_src-4c619e3b7771d9f27a748bcdfe1fd857b13d7d8e.tar.gz chromium_src-4c619e3b7771d9f27a748bcdfe1fd857b13d7d8e.tar.bz2 |
Inline the theme promo image. This should be a tiny bit faster than
using a chrome:// URL.
Review URL: http://codereview.chromium.org/255099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28279 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/app/theme/theme_resources.grd | 1 | ||||
-rw-r--r-- | chrome/browser/resources/new_new_tab.html | 2 | ||||
-rw-r--r-- | chrome/browser/resources/ntp_themes_promo.png (renamed from chrome/app/theme/ntp_themes_promo.png) | bin | 9355 -> 9355 bytes |
3 files changed, 1 insertions, 2 deletions
diff --git a/chrome/app/theme/theme_resources.grd b/chrome/app/theme/theme_resources.grd index 0331188..4e077e5 100644 --- a/chrome/app/theme/theme_resources.grd +++ b/chrome/app/theme/theme_resources.grd @@ -199,7 +199,6 @@ <include name="IDR_NEWTAB_THEMES_GALLERY_FAVICON" file="ntp_themes_gallery_favicon.png" type="BINDATA" /> <include name="IDR_NEWTAB_CHECKBOX_BLACK" file="checkbox_black.png" type="BINDATA" /> <include name="IDR_NEWTAB_CHECKBOX_WHITE" file="checkbox_white.png" type="BINDATA" /> - <include name="IDR_NEWTAB_THEMES_PROMO" file="ntp_themes_promo.png" type="BINDATA" /> <include name="IDR_ARROW_RIGHT" file="arrow_right.png" type="BINDATA" /> <include name="IDR_SAD_TAB" file="sadtab.png" type="BINDATA" /> <include name="IDR_OTR_ICON" file="otr_icon.png" type="BINDATA" /> diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html index 08c452a..258051d 100644 --- a/chrome/browser/resources/new_new_tab.html +++ b/chrome/browser/resources/new_new_tab.html @@ -250,7 +250,7 @@ document.write('<link id="themecss" rel="stylesheet" ' + <div id="themes-promo"> <a i18n-values="href:themelink"> - <img src="chrome://theme/newtab_themes_promo"> + <img src="ntp_themes_promo.png"> </a> </div> diff --git a/chrome/app/theme/ntp_themes_promo.png b/chrome/browser/resources/ntp_themes_promo.png Binary files differindex 8d03387..8d03387 100644 --- a/chrome/app/theme/ntp_themes_promo.png +++ b/chrome/browser/resources/ntp_themes_promo.png |