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

Unified Diff: components/toolbar/toolbar_model_delegate.h

Issue 2926703002: Remove VectorIconId references from the codebase (Closed)
Patch Set: estade comments Created 3 years, 6 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
« no previous file with comments | « components/omnibox/browser/omnibox_view.h ('k') | ui/gfx/vector_icon_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/toolbar/toolbar_model_delegate.h
diff --git a/components/toolbar/toolbar_model_delegate.h b/components/toolbar/toolbar_model_delegate.h
index 8c61c451bec30739ac5428a4d93390ab7ef6771e..91008e428876c12be1131f5cc8a86ca397676bc2 100644
--- a/components/toolbar/toolbar_model_delegate.h
+++ b/components/toolbar/toolbar_model_delegate.h
@@ -50,10 +50,10 @@ class ToolbarModelDelegate {
// Returns true if the current page fails the malware check.
virtual bool FailsMalwareCheck() const = 0;
- // Returns the id of the icon to show to the left of the address, or
- // gfx::VectorIconId::VECTOR_ICON_NONE if the icon should be selected by the
- // caller. This is useful for associating particular URLs with particular
- // schemes without importing knowledge of those schemes into this component.
+ // Returns the id of the icon to show to the left of the address, or nullptr
+ // if the icon should be selected by the caller. This is useful for
+ // associating particular URLs with particular schemes without importing
+ // knowledge of those schemes into this component.
virtual const gfx::VectorIcon* GetVectorIconOverride() const = 0;
protected:
« no previous file with comments | « components/omnibox/browser/omnibox_view.h ('k') | ui/gfx/vector_icon_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698