| 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 {
|
|
|