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

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

Issue 2729603008: [Mac] Remove bookmark bar NIB (Closed)
Patch Set: Cleanup 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
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..8024f503e498cf131f90bc82594e334461e6232e 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -331,7 +331,7 @@ bool IsTabDetachingInFullscreenEnabled() {
initWithBrowser:browser_.get()
initialWidth:NSWidth([[[self window] contentView] frame])
delegate:self]);
- // This call triggers an -awakeFromNib for ToolbarView.xib.
+ // This call loads the view.
[[bookmarkBarController_ controlledView] setResizeDelegate:self];
Elly Fong-Jones 2017/03/07 16:21:54 why does a function called "setResizeDelegate:" lo
lgrey 2017/03/07 22:07:32 It doesn't. |controlledView| calls [self view] whi
[bookmarkBarController_ setBookmarkBarEnabled:[self supportsBookmarkBar]];

Powered by Google App Engine
This is Rietveld 408576698