Index: components/toolbar/toolbar_model.h |
diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h |
index 48a1a8b78d8809d2764284fc357ccf38b83c3970..19c60d1cb31082b8c7ecdf82086b3fef53e427a9 100644 |
--- a/components/toolbar/toolbar_model.h |
+++ b/components/toolbar/toolbar_model.h |
@@ -43,10 +43,13 @@ |
virtual security_state::SecurityStateModel::SecurityLevel GetSecurityLevel( |
bool ignore_editing) const = 0; |
- // Returns the id of the icon to show to the left of the address, based on the |
- // current URL. When search term replacement is active, this returns a search |
- // icon. This doesn't cover specialized icons while the user is editing; see |
- // OmniboxView::GetVectorIcon(). |
+ // Returns the resource_id of the icon to show to the left of the address, |
+ // based on the current URL. When search term replacement is active, this |
+ // returns a search icon. This doesn't cover specialized icons while the |
+ // 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 text for the omnibox secure verbose chip. |