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

Unified Diff: components/toolbar/toolbar_model.h

Issue 2365263006: Delete pre-MD code from OmniboxResultView (Closed)
Patch Set: rebase Created 4 years, 2 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: components/toolbar/toolbar_model.h
diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h
index 19c60d1cb31082b8c7ecdf82086b3fef53e427a9..48a1a8b78d8809d2764284fc357ccf38b83c3970 100644
--- a/components/toolbar/toolbar_model.h
+++ b/components/toolbar/toolbar_model.h
@@ -43,13 +43,10 @@ class ToolbarModel {
virtual security_state::SecurityStateModel::SecurityLevel GetSecurityLevel(
bool ignore_editing) const = 0;
- // 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.
+ // 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().
virtual gfx::VectorIconId GetVectorIcon() const = 0;
// Returns text for the omnibox secure verbose chip.

Powered by Google App Engine
This is Rietveld 408576698