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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h

Issue 726813002: [Extensions Toolbar] Make the ExtensionToolbarModel icon count more stable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h b/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
index a6da74b4400644a60bb9052c5c84dbe5c76a9703..65ad3cf21ce225cd132b0f2a8ef3fed6cbc5c92f 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
@@ -16,6 +16,9 @@ class ToolbarActionsBarDelegate {
public:
virtual ~ToolbarActionsBarDelegate() {}
+ // Returns true if the delegate is ready to start adding views.
+ virtual bool IsReady() const = 0;
Peter Kasting 2014/11/14 21:31:58 Nit: Maybe IsReadyToAddViews()?
Devlin 2014/11/14 22:00:37 Sure. Done.
+
// Adds a view for the given |action| at |index|.
virtual void AddViewForAction(ToolbarActionViewController* action,
size_t index) = 0;

Powered by Google App Engine
This is Rietveld 408576698