From d7731ea9bb786ffb58b4c212e391483904d07b7d Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Fri, 19 Nov 2010 15:06:28 +0000 Subject: Use the new icons from Cole for about:conflicts. BUG=51105 TEST=None Review URL: http://codereview.chromium.org/5124004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66766 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/theme/about_conflicts.png | Bin 0 -> 6200 bytes chrome/app/theme/about_conflicts_favicon.png | Bin 0 -> 1649 bytes chrome/app/theme/conflicts_section.png | Bin 8157 -> 0 bytes chrome/app/theme/theme_resources.grd | 1 + chrome/browser/dom_ui/conflicts_ui.cc | 2 +- chrome/browser/resources/about_conflicts.html | 4 ++-- 6 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 chrome/app/theme/about_conflicts.png create mode 100644 chrome/app/theme/about_conflicts_favicon.png delete mode 100644 chrome/app/theme/conflicts_section.png diff --git a/chrome/app/theme/about_conflicts.png b/chrome/app/theme/about_conflicts.png new file mode 100644 index 0000000..a2410b9 Binary files /dev/null and b/chrome/app/theme/about_conflicts.png differ diff --git a/chrome/app/theme/about_conflicts_favicon.png b/chrome/app/theme/about_conflicts_favicon.png new file mode 100644 index 0000000..faab84b Binary files /dev/null and b/chrome/app/theme/about_conflicts_favicon.png differ diff --git a/chrome/app/theme/conflicts_section.png b/chrome/app/theme/conflicts_section.png deleted file mode 100644 index 228674e..0000000 Binary files a/chrome/app/theme/conflicts_section.png and /dev/null differ diff --git a/chrome/app/theme/theme_resources.grd b/chrome/app/theme/theme_resources.grd index ab0a951..26df377 100644 --- a/chrome/app/theme/theme_resources.grd +++ b/chrome/app/theme/theme_resources.grd @@ -81,6 +81,7 @@ + diff --git a/chrome/browser/dom_ui/conflicts_ui.cc b/chrome/browser/dom_ui/conflicts_ui.cc index 45a6f18..555430e 100644 --- a/chrome/browser/dom_ui/conflicts_ui.cc +++ b/chrome/browser/dom_ui/conflicts_ui.cc @@ -207,7 +207,7 @@ ConflictsUI::ConflictsUI(TabContents* contents) : DOMUI(contents) { // static RefCountedMemory* ConflictsUI::GetFaviconResourceBytes() { return ResourceBundle::GetSharedInstance(). - LoadDataResourceBytes(IDR_CONFLICT_MENU); + LoadDataResourceBytes(IDR_CONFLICT_FAVICON); } #endif diff --git a/chrome/browser/resources/about_conflicts.html b/chrome/browser/resources/about_conflicts.html index a2e36d8..c4365ff 100644 --- a/chrome/browser/resources/about_conflicts.html +++ b/chrome/browser/resources/about_conflicts.html @@ -30,7 +30,7 @@ html[dir=rtl] #header { } #header h1 { - background: url('../../app/theme/conflicts_section.png') 0px 20px no-repeat; + background: url('../../app/theme/about_conflicts.png') 0px 20px no-repeat; display: inline; margin: 0; padding-bottom: 43px; @@ -39,7 +39,7 @@ html[dir=rtl] #header { } html[dir=rtl] #header h1 { - background: url('../../app/theme/conflicts_section.png') right no-repeat; + background: url('../../app/theme/about_conflicts.png') right no-repeat; padding-right: 95px; padding-left: 0; } -- cgit v1.1