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

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, 5 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..9f9c6157b2bf11e86ba5508020d69d525f15903a 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
+ bool IsComponentActionId(const std::string& id);
msw 2016/07/26 19:59:31 nit: make this static
takumif 2016/07/28 20:04:10 Done.
+
private:
DISALLOW_COPY_AND_ASSIGN(ComponentToolbarActionsFactory);
};

Powered by Google App Engine
This is Rietveld 408576698