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

Unified Diff: chrome/browser/cocoa/bookmark_bar_controller.h

Issue 155494: First cut at infobars on Mac. These are not expected to be... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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/bookmark_bar_controller.h
===================================================================
--- chrome/browser/cocoa/bookmark_bar_controller.h (revision 20925)
+++ chrome/browser/cocoa/bookmark_bar_controller.h (working copy)
@@ -46,6 +46,7 @@
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 @@
// 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.
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_bridge_unittest.mm ('k') | chrome/browser/cocoa/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698