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

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

Issue 155358: More bookmark bar changes.... (Closed) Base URL: svn://chrome-svn/chrome/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/browser/cocoa/gradient_button_cell_unittest.mm ('k') | chrome/browser/cocoa/toolbar_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/tab_window_controller.mm
===================================================================
--- chrome/browser/cocoa/tab_window_controller.mm (revision 20588)
+++ chrome/browser/cocoa/tab_window_controller.mm (working copy)
@@ -16,10 +16,6 @@
@synthesize tabContentArea = tabContentArea_;
- (void)windowDidLoad {
- // TODO(jrg): a non-normal window (e.g. for pop-ups) needs more work
- // than just removal of the tab strip offset. But this is enough to
- // avoid confusion (e.g. "new tab" on popup gets created in a
- // different window).
if ([self isNormalWindow]) {
// Place the tab bar above the content box and add it to the view hierarchy
// as a sibling of the content view so it can overlap with the window frame.
@@ -27,8 +23,8 @@
tabFrame.origin = NSMakePoint(0, NSMaxY(tabFrame));
tabFrame.size.height = NSHeight([tabStripView_ frame]);
[tabStripView_ setFrame:tabFrame];
+ [[[[self window] contentView] superview] addSubview:tabStripView_];
}
- [[[[self window] contentView] superview] addSubview:tabStripView_];
}
- (void)removeOverlay {
« no previous file with comments | « chrome/browser/cocoa/gradient_button_cell_unittest.mm ('k') | chrome/browser/cocoa/toolbar_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698