diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 20:27:59 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 20:27:59 +0000 |
commit | e8476c99df7b4c6fb544f5891c537bc585d0b2c6 (patch) | |
tree | 302143adc01a9bb27fffff0c8d9949c39cba3e64 /chrome/browser/ui/omnibox/omnibox_popup_model.h | |
parent | f4f7a6ef4a5c5abccf9982839edfce8c0a7333bf (diff) | |
download | chromium_src-e8476c99df7b4c6fb544f5891c537bc585d0b2c6.zip chromium_src-e8476c99df7b4c6fb544f5891c537bc585d0b2c6.tar.gz chromium_src-e8476c99df7b4c6fb544f5891c537bc585d0b2c6.tar.bz2 |
Make search icon in omnibox results hidpi
Review URL: https://chromiumcodereview.appspot.com/10829370
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152379 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/omnibox/omnibox_popup_model.h')
-rw-r--r-- | chrome/browser/ui/omnibox/omnibox_popup_model.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/ui/omnibox/omnibox_popup_model.h b/chrome/browser/ui/omnibox/omnibox_popup_model.h index f4b4b23..85934b4 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 { |