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

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: 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 75bdda9693017f11cc1f3d482701005b73da5c84..d938d78ee766cabb5ccfeba35bb794b2389eea0e 100644
--- a/chrome/browser/extensions/location_bar_controller.h
+++ b/chrome/browser/extensions/location_bar_controller.h
@@ -52,6 +52,10 @@ class LocationBarController : public ExtensionRegistryObserver {
// The associated BrowserContext.
content::BrowserContext* browser_context_;
+ // 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