Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.mm

Issue 160253005: [OSX] IMAGE_GRID macro for NinePartImage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/search_button_decoration.mm ('k') | ui/base/cocoa/appkit_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.mm b/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.mm
index a19a477f9119815e83688736d2cc48d0f6888248..ae9ae4f50c9bc04241b7b848a8bc40e31dffeaff 100644
--- a/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.mm
@@ -40,17 +40,7 @@ CGFloat SelectedKeywordDecoration::GetWidthForSpace(CGFloat width) {
}
ui::NinePartImageIds SelectedKeywordDecoration::GetBubbleImageIds() {
- return {
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_TOP_LEFT,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_TOP,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_TOP_RIGHT,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_LEFT,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_CENTER,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_RIGHT,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_BOTTOM_LEFT,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_BOTTOM,
- IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE_BOTTOM_RIGHT
- };
+ return IMAGE_GRID(IDR_OMNIBOX_SELECTED_KEYWORD_BUBBLE);
}
void SelectedKeywordDecoration::SetKeyword(const base::string16& short_name,
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/search_button_decoration.mm ('k') | ui/base/cocoa/appkit_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698