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

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

Issue 2906723003: [Extenisons UI] Remove extension_action_redesign logic from the toolbar (Closed)
Patch Set: comments Created 3 years, 7 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/toolbar_actions_model.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_model.h b/chrome/browser/ui/toolbar/toolbar_actions_model.h
index 8f01c23bf5bc5cdf968f3cd9a52dd0f40f06a0e9..662844d9c0287f7aefd0b10f3a59570e976d6330 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_model.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_model.h
@@ -225,8 +225,6 @@ class ToolbarActionsModel : public extensions::ExtensionActionAPI::Observer,
ExtensionAction* extension_action,
content::WebContents* web_contents,
content::BrowserContext* browser_context) override;
- void OnExtensionActionVisibilityChanged(const std::string& extension_id,
- bool is_now_visible) override;
// To be called after the extension service is ready; gets loaded extensions
// from the ExtensionRegistry, their saved order from the pref service, and
@@ -299,9 +297,6 @@ class ToolbarActionsModel : public extensions::ExtensionActionAPI::Observer,
// True if we've handled the initial EXTENSIONS_READY notification.
bool actions_initialized_;
- // If true, we include all actions in the toolbar model.
- bool use_redesign_;
-
// Ordered list of browser actions.
std::vector<ToolbarItem> toolbar_items_;
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.cc ('k') | chrome/browser/ui/toolbar/toolbar_actions_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698