Index: components/omnibox/browser/omnibox_view.h |
diff --git a/components/omnibox/browser/omnibox_view.h b/components/omnibox/browser/omnibox_view.h |
index 31bdb558d990c5ca4b8a378287323730645de0a0..6095561e3ff3f9648358a36cc9ff68fd6ba2813a 100644 |
--- a/components/omnibox/browser/omnibox_view.h |
+++ b/components/omnibox/browser/omnibox_view.h |
@@ -28,6 +28,10 @@ class OmniboxEditController; |
class OmniboxViewMacTest; |
class ToolbarModel; |
+namespace gfx { |
+enum class VectorIconId; |
+} |
+ |
class OmniboxView { |
public: |
virtual ~OmniboxView(); |
@@ -71,6 +75,9 @@ class OmniboxView { |
// Returns the resource ID of the icon to show for the current text. |
int GetIcon() const; |
+ // Like GetIcon(), but returns a vector icon identifier. |
+ gfx::VectorIconId GetVectorIcon() const; |
+ |
// The user text is the text the user has manually keyed in. When present, |
// this is shown in preference to the permanent text; hitting escape will |
// revert to the permanent text. |