Chromium Code Reviews| 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; |