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

Unified Diff: chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc

Issue 1560015: Replace omnibox icons with new set that are all the same size (19x19).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/autocomplete/autocomplete.cc ('k') | chrome/browser/cocoa/autocomplete_text_field_cell.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
===================================================================
--- chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc (revision 43646)
+++ chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc (working copy)
@@ -165,15 +165,15 @@
GdkPixbuf* IconForMatch(const AutocompleteMatch& match, bool selected) {
int icon = match.starred ?
- IDR_O2_STAR : AutocompleteMatch::TypeToIcon(match.type);
+ IDR_OMNIBOX_STAR : AutocompleteMatch::TypeToIcon(match.type);
if (selected) {
switch (icon) {
- case IDR_O2_GLOBE: icon = IDR_O2_GLOBE_SELECTED_DARK; break;
- case IDR_O2_HISTORY: icon = IDR_O2_HISTORY_SELECTED_DARK; break;
- case IDR_O2_SEARCH: icon = IDR_O2_SEARCH_SELECTED_DARK; break;
- case IDR_O2_MORE: icon = IDR_O2_MORE_SELECTED_DARK; break;
- case IDR_O2_STAR: icon = IDR_O2_STAR_SELECTED_DARK; break;
- default: NOTREACHED(); break;
+ case IDR_OMNIBOX_HTTP: icon = IDR_OMNIBOX_HTTP_DARK; break;
+ case IDR_OMNIBOX_HISTORY: icon = IDR_OMNIBOX_HISTORY_DARK; break;
+ case IDR_OMNIBOX_SEARCH: icon = IDR_OMNIBOX_SEARCH_DARK; break;
+ case IDR_OMNIBOX_MORE: icon = IDR_OMNIBOX_MORE_DARK; break;
+ case IDR_OMNIBOX_STAR: icon = IDR_OMNIBOX_STAR_DARK; break;
+ default: NOTREACHED(); break;
}
}
// TODO(deanm): These would be better as pixmaps someday.
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/cocoa/autocomplete_text_field_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698