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

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

Issue 2155293002: Show the Cast toolbar icon ephemerally when Cast is in use (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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: chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
diff --git a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
index 3f00ca9c1d0f53b37bf12b5b59da8bfb5deabfdb..cfe5fada2f42532902702448bb053260d8d094b6 100644
--- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
+++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
@@ -56,6 +56,9 @@ class ComponentToolbarActionsFactory {
// Ownership remains with the caller.
static void SetTestingFactory(ComponentToolbarActionsFactory* factory);
+ // Returns whether the given ID belongs to a component action.
+ static bool IsComponentActionId(const std::string& id);
Devlin 2016/08/02 20:18:51 Is this used?
takumif 2016/08/03 22:03:50 No. Removing.
+
private:
DISALLOW_COPY_AND_ASSIGN(ComponentToolbarActionsFactory);
};

Powered by Google App Engine
This is Rietveld 408576698