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

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

Issue 1228223002: Close wrench menu when Media Router Action clicked in Views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix browser test. Created 5 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 7ef07133080ece410536e6c76c5869abab480acd..9a205eded0af0041ff9cc2c50c00f4958cba0811 100644
--- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
+++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
+class Browser;
class Profile;
class ToolbarActionViewController;
@@ -24,10 +25,10 @@ class ComponentToolbarActionsFactory {
// Returns a collection of controllers for Chrome Actions. Declared virtual
// for testing.
virtual ScopedVector<ToolbarActionViewController>
- GetComponentToolbarActions();
+ GetComponentToolbarActions(Browser* browser);
// Returns the number of component actions.
- int GetNumComponentActions();
+ int GetNumComponentActions(Browser* browser);
// Sets the factory to use for testing purposes.
// Ownership remains with the caller.

Powered by Google App Engine
This is Rietveld 408576698