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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.mm

Issue 2729603008: [Mac] Remove bookmark bar NIB (Closed)
Patch Set: CL comments Created 3 years, 9 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/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
index 3c12b1ca3310922539920a89431369126990d677..57efa23c3a539b33a5b809834e36bddee98065c2 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -331,8 +331,10 @@ bool IsTabDetachingInFullscreenEnabled() {
initWithBrowser:browser_.get()
initialWidth:NSWidth([[[self window] contentView] frame])
delegate:self]);
- // This call triggers an -awakeFromNib for ToolbarView.xib.
- [[bookmarkBarController_ controlledView] setResizeDelegate:self];
+ // This call loads the view.
+ BookmarkBarToolbarView* bookmarkBarView =
+ [bookmarkBarController_ controlledView];
+ [bookmarkBarView setResizeDelegate:self];
[bookmarkBarController_ setBookmarkBarEnabled:[self supportsBookmarkBar]];
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698