diff options
author | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 23:30:58 +0000 |
---|---|---|
committer | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 23:30:58 +0000 |
commit | cc7af20c86badaa22495bfa7d0c1e7b97a318cbc (patch) | |
tree | 39979b05d8eee368e98519417e37361319247660 /chrome/browser/cocoa/extensions/browser_actions_controller.h | |
parent | ab6c890e9f217c8e91d9119755a61c25ec7e41b8 (diff) | |
download | chromium_src-cc7af20c86badaa22495bfa7d0c1e7b97a318cbc.zip chromium_src-cc7af20c86badaa22495bfa7d0c1e7b97a318cbc.tar.gz chromium_src-cc7af20c86badaa22495bfa7d0c1e7b97a318cbc.tar.bz2 |
[Mac] o Adds a slight drop shadow to the drawn images within Browser Action buttons.
o Adds initial BrowserActionsContainerView class that simply draws a right border at this time but will be used for more complex UI later.
o Alters Toolbar.xib to use the new view class instead of a plain NSView.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/565048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/extensions/browser_actions_controller.h')
-rw-r--r-- | chrome/browser/cocoa/extensions/browser_actions_controller.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/extensions/browser_actions_controller.h b/chrome/browser/cocoa/extensions/browser_actions_controller.h index 8daf35e..3be6814 100644 --- a/chrome/browser/cocoa/extensions/browser_actions_controller.h +++ b/chrome/browser/cocoa/extensions/browser_actions_controller.h @@ -12,6 +12,7 @@ class Browser; @class BrowserActionButton; +@class BrowserActionsContainerView; class Extension; @class ExtensionPopupController; class ExtensionsServiceObserverBridge; @@ -27,7 +28,7 @@ extern NSString* const kBrowserActionsChangedNotification; Browser* browser_; // The view from Toolbar.xib we'll be rendering our browser actions in. Weak. - NSView* containerView_; + BrowserActionsContainerView* containerView_; // The current profile. Weak. Profile* profile_; @@ -47,7 +48,7 @@ extern NSString* const kBrowserActionsChangedNotification; // Initializes the controller given the current browser and container view that // will hold the browser action buttons. - (id)initWithBrowser:(Browser*)browser - containerView:(NSView*)container; + containerView:(BrowserActionsContainerView*)container; // Creates and appends any existing browser action buttons present within the // extensions service to the toolbar. |