summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/location_bar
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 19:21:40 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 19:21:40 +0000
commitdf42570005dacc533876cee56da48c711dd516a5 (patch)
tree2ef58cf8e70e334a5d155417412dbd62feee088f /chrome/browser/cocoa/location_bar
parent59e30246acc31440592eaff4ad68b32dcf67360e (diff)
downloadchromium_src-df42570005dacc533876cee56da48c711dd516a5.zip
chromium_src-df42570005dacc533876cee56da48c711dd516a5.tar.gz
chromium_src-df42570005dacc533876cee56da48c711dd516a5.tar.bz2
Modified resources for M6 theme. This doesn't actually modify layout yet, just images and identifier names.
BUG=50107 TEST=none Review URL: http://codereview.chromium.org/3035034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/location_bar')
-rw-r--r--chrome/browser/cocoa/location_bar/selected_keyword_decoration.mm4
-rw-r--r--chrome/browser/cocoa/location_bar/star_decoration.mm2
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/location_bar/selected_keyword_decoration.mm b/chrome/browser/cocoa/location_bar/selected_keyword_decoration.mm
index 3c593ac..9d18bcb 100644
--- a/chrome/browser/cocoa/location_bar/selected_keyword_decoration.mm
+++ b/chrome/browser/cocoa/location_bar/selected_keyword_decoration.mm
@@ -14,8 +14,8 @@
SelectedKeywordDecoration::SelectedKeywordDecoration(NSFont* font)
: BubbleDecoration(font) {
- search_image_.reset(
- [AutocompleteEditViewMac::ImageForResource(IDR_OMNIBOX_SEARCH) retain]);
+ search_image_.reset([AutocompleteEditViewMac::ImageForResource(
+ IDR_KEYWORD_SEARCH_MAGNIFIER) retain]);
// Matches the color of the highlighted line in the popup.
NSColor* background_color = [NSColor selectedControlColor];
diff --git a/chrome/browser/cocoa/location_bar/star_decoration.mm b/chrome/browser/cocoa/location_bar/star_decoration.mm
index 1015f58..f2c6948 100644
--- a/chrome/browser/cocoa/location_bar/star_decoration.mm
+++ b/chrome/browser/cocoa/location_bar/star_decoration.mm
@@ -30,7 +30,7 @@ StarDecoration::~StarDecoration() {
}
void StarDecoration::SetStarred(bool starred) {
- const int image_id = starred ? IDR_OMNIBOX_STAR_LIT : IDR_OMNIBOX_STAR;
+ const int image_id = starred ? IDR_STAR_LIT : IDR_STAR;
const int tip_id = starred ? IDS_TOOLTIP_STARRED : IDS_TOOLTIP_STAR;
SetImage(AutocompleteEditViewMac::ImageForResource(image_id));
tooltip_.reset([l10n_util::GetNSStringWithFixup(tip_id) retain]);