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

Unified Diff: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h

Issue 10829370: Make search icon in omnibox results hidpi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
index c6245be2443970ce7e94021d4327a51fcf5e9e59..442bfd71a7a3e40fae54d629097bb628b122aab2 100644
--- a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
+++ b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
@@ -82,9 +82,9 @@ class OmniboxPopupViewGtk : public OmniboxPopupView,
// Accept a line of the results, for example, when the user clicks a line.
void AcceptLine(size_t line, WindowOpenDisposition disposition);
- const gfx::Image* IconForMatch(const AutocompleteMatch& match,
- bool selected,
- bool is_selected_keyword);
+ gfx::Image IconForMatch(const AutocompleteMatch& match,
+ bool selected,
+ bool is_selected_keyword);
// Returns the |index|th element of match, unless we're selected and showing
// the associated keyword match.
@@ -122,11 +122,6 @@ class OmniboxPopupViewGtk : public OmniboxPopupView,
// |font|.
gfx::Font font_;
- // Used to cache GdkPixbufs and map them from the SkBitmaps they were created
- // from.
- typedef std::map<const SkBitmap*, gfx::Image*> ImageMap;
- ImageMap images_;
-
// A list of colors which we should use for drawing the popup. These change
// between gtk and normal mode.
GdkColor border_color_;

Powered by Google App Engine
This is Rietveld 408576698