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

Unified Diff: chrome/browser/cocoa/extensions/browser_actions_controller.h

Issue 595017: [Mac] Use the ExtensionToolbarModel for ordering of the Browser Actions. Prep... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove redundant profile object. Created 10 years, 10 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/cocoa/extensions/browser_actions_controller.h
===================================================================
--- chrome/browser/cocoa/extensions/browser_actions_controller.h (revision 38554)
+++ chrome/browser/cocoa/extensions/browser_actions_controller.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -15,6 +15,7 @@
@class BrowserActionsContainerView;
class Extension;
@class ExtensionPopupController;
+class ExtensionToolbarModel;
class ExtensionsServiceObserverBridge;
class Profile;
@@ -33,6 +34,9 @@
// The current profile. Weak.
Profile* profile_;
+ // The model that tracks the order of the toolbar icons. Weak.
+ ExtensionToolbarModel* toolbarModel_;
+
// The observer for the ExtensionsService we're getting events from.
scoped_ptr<ExtensionsServiceObserverBridge> observer_;
@@ -57,10 +61,6 @@
// Update the display of all buttons.
- (void)update;
-// Marks the container view for redraw. Called by the extension service
-// notification bridge.
-- (void)browserActionVisibilityHasChanged;
-
// Returns the current number of browser action buttons within the container,
// whether or not they are displayed.
- (int)buttonCount;

Powered by Google App Engine
This is Rietveld 408576698