Index: components/toolbar/toolbar_model.h |
diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h |
index b592f300d961b4f274164ff07ad489861db12079..dc67fc75ccc81c44186075548fa4aed4811ae69c 100644 |
--- a/components/toolbar/toolbar_model.h |
+++ b/components/toolbar/toolbar_model.h |
@@ -11,6 +11,10 @@ |
#include "base/strings/string16.h" |
#include "url/gurl.h" |
+namespace gfx { |
+enum class VectorIconId; |
+} |
+ |
namespace net { |
class X509Certificate; |
} |
@@ -64,6 +68,9 @@ class ToolbarModel { |
// user is editing; see OmniboxView::GetIcon(). |
virtual int GetIcon() const = 0; |
+ // Like GetIcon(), but gets the vector asset ID. |
+ virtual gfx::VectorIconId GetVectorIcon() const = 0; |
+ |
// Returns the name of the EV cert holder. This returns an empty string if |
// the security level is not EV_SECURE. |
virtual base::string16 GetEVCertName() const = 0; |