summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_bar_controller.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 03:16:58 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 03:16:58 +0000
commit91cea0e774541297a46197d87e486cf8a4199775 (patch)
treebe5058bd3eec65a923abbaef68342249574b7ce2 /chrome/browser/cocoa/bookmark_bar_controller.h
parent8a1d601fcd2f8bf457ea4e9592e918acc9835f87 (diff)
downloadchromium_src-91cea0e774541297a46197d87e486cf8a4199775.zip
chromium_src-91cea0e774541297a46197d87e486cf8a4199775.tar.gz
chromium_src-91cea0e774541297a46197d87e486cf8a4199775.tar.bz2
First cut at infobars on Mac. These are not expected to be
pretty. Animations and aesthetic appeal will come in a future CL. BUG=http://crbug.com/14462 BUG=http://crbug.com/14937 BUG=http://crbug.com/15839 BUG=http://crbug.com/16487 TEST=Infobars should show up when expected. Review URL: http://codereview.chromium.org/155494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20930 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller.h')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.h b/chrome/browser/cocoa/bookmark_bar_controller.h
index 5d401de..1e98b93 100644
--- a/chrome/browser/cocoa/bookmark_bar_controller.h
+++ b/chrome/browser/cocoa/bookmark_bar_controller.h
@@ -46,6 +46,7 @@ class PrefService;
NSView* parentView_; // weak; our parent view
NSView* webContentView_; // weak; where the web goes
+ NSView* infoBarsView_; // weak; where the infobars go
// Bridge from Chrome-style C++ notifications (e.g. derived from
// BookmarkModelObserver)
@@ -60,9 +61,12 @@ class PrefService;
// Initializes the bookmark bar controller with the given browser
// profile, parent view (the toolbar), web content view, and delegate.
// |delegate| is used for opening URLs.
+// TODO(rohitrao, jrg): The bookmark bar shouldn't know about the
+// infoBarsView or the webContentView.
- (id)initWithProfile:(Profile*)profile
parentView:(NSView*)parentView
webContentView:(NSView*)webContentView
+ infoBarsView:(NSView*)infoBarsView
delegate:(id<BookmarkURLOpener>)delegate;
// Returns whether or not the bookmark bar is visible.