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

Unified Diff: chrome/browser/ui/omnibox/omnibox_popup_model.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/omnibox/omnibox_popup_model.h
diff --git a/chrome/browser/ui/omnibox/omnibox_popup_model.h b/chrome/browser/ui/omnibox/omnibox_popup_model.h
index f4b4b23ec6c2cfbe715e23faaf2e9b7656a45237..85934b46e522852b7fb80239db4fbcb1366d0697 100644
--- a/chrome/browser/ui/omnibox/omnibox_popup_model.h
+++ b/chrome/browser/ui/omnibox/omnibox_popup_model.h
@@ -11,7 +11,10 @@
#include "chrome/browser/ui/omnibox/omnibox_edit_model.h"
class OmniboxPopupView;
-class SkBitmap;
+
+namespace gfx {
+class Image;
+}
class OmniboxPopupModel {
public:
@@ -81,8 +84,8 @@ class OmniboxPopupModel {
void TryDeletingCurrentItem();
// If |match| is from an extension, returns the extension icon; otherwise
- // returns NULL.
- const SkBitmap* GetIconIfExtensionMatch(const AutocompleteMatch& match) const;
+ // returns an empty Image.
+ gfx::Image GetIconIfExtensionMatch(const AutocompleteMatch& match) const;
// The match the user has manually chosen, if any.
const AutocompleteResult::Selection& manually_selected_match() const {

Powered by Google App Engine
This is Rietveld 408576698