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

Unified Diff: chrome/browser/extensions/location_bar_controller.h

Issue 516633002: Stop showing page actions in the location bar with redesign enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest CQ for Master Created 6 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/extensions/location_bar_controller.h
diff --git a/chrome/browser/extensions/location_bar_controller.h b/chrome/browser/extensions/location_bar_controller.h
index 93f16187f9f336675c411cce4bc12d12e78c4e4e..166835250e8de1f56e33d0ba5d8409fac22db083 100644
--- a/chrome/browser/extensions/location_bar_controller.h
+++ b/chrome/browser/extensions/location_bar_controller.h
@@ -59,6 +59,10 @@ class LocationBarController : public ExtensionRegistryObserver {
// The ExtensionActionManager to provide page actions.
ExtensionActionManager* action_manager_;
+ // Whether or not to show page actions in the location bar at all. (This is
+ // false with the toolbar redesign enabled.)
+ bool should_show_page_actions_;
+
// The ActiveScriptController, which could also add actions for extensions if
// they have a pending script.
scoped_ptr<ActiveScriptController> active_script_controller_;

Powered by Google App Engine
This is Rietveld 408576698