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

Unified Diff: chrome/browser/cocoa/bookmark_bar_bridge_unittest.mm

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
« no previous file with comments | « chrome/app/nibs/en.lproj/InfoBarContainer.xib ('k') | chrome/browser/cocoa/bookmark_bar_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_bar_bridge_unittest.mm
===================================================================
--- chrome/browser/cocoa/bookmark_bar_bridge_unittest.mm (revision 20925)
+++ chrome/browser/cocoa/bookmark_bar_bridge_unittest.mm (working copy)
@@ -34,10 +34,12 @@
- (id)initWithProfile:(Profile*)profile
parentView:(NSView*)parentView
- webContentView:(NSView*)webContentView {
+ webContentView:(NSView*)webContentView
+ infoBarsView:(NSView*)infoBarsView {
if ((self = [super initWithProfile:profile
parentView:parentView
webContentView:webContentView
+ infoBarsView:infoBarsView
delegate:self])) {
callbacks_.reset([[NSMutableArray alloc] init]);
}
@@ -113,12 +115,15 @@
initWithFrame:NSMakeRect(0,0,100,100)]);
scoped_nsobject<NSView> webView([[NSView alloc]
initWithFrame:NSMakeRect(0,0,100,100)]);
+ scoped_nsobject<NSView> infoBarsView(
+ [[NSView alloc] initWithFrame:NSMakeRect(0,0,100,100)]);
scoped_nsobject<FakeBookmarkBarController>
controller([[FakeBookmarkBarController alloc]
initWithProfile:profile
parentView:parentView.get()
- webContentView:webView.get()]);
+ webContentView:webView.get()
+ infoBarsView:infoBarsView.get()]);
EXPECT_TRUE(controller.get());
scoped_ptr<BookmarkBarBridge> bridge(new BookmarkBarBridge(controller.get(),
model));
« no previous file with comments | « chrome/app/nibs/en.lproj/InfoBarContainer.xib ('k') | chrome/browser/cocoa/bookmark_bar_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698