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

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

Issue 2469013003: Keep the toolbar overflow menu the same when removing a component action (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/toolbar_actions_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/toolbar_actions_model.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_model.h b/chrome/browser/ui/toolbar/toolbar_actions_model.h
index 52785a3be3d235d6a8fca753d1dc6a366669d43a..4bde778a1a752190b5722534609f1f9101073077 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_model.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_model.h
@@ -273,6 +273,9 @@ class ToolbarActionsModel
// enabled extensions.
const extensions::Extension* GetExtensionById(const std::string& id) const;
+ // Returns true if the action is visible on the toolbar.
+ bool IsActionVisible(const std::string& action_id) const;
+
// Our observers.
base::ObserverList<Observer> observers_;
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/toolbar_actions_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698