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

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

Issue 258012: [Mac] Insert views into the proper place in the view hierarchy when tearing o... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « no previous file | chrome/browser/cocoa/tab_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/browser_window_controller.mm
===================================================================
--- chrome/browser/cocoa/browser_window_controller.mm (revision 27984)
+++ chrome/browser/cocoa/browser_window_controller.mm (working copy)
@@ -1148,17 +1148,6 @@
return defaultSheetRect;
}
-// In addition to the tab strip and content area, which the superview's impl
-// takes care of, we need to add the toolbar and bookmark bar to the
-// overlay so they draw correctly when dragging out a new window.
-- (NSArray*)viewsToMoveToOverlay {
- NSArray* views = [super viewsToMoveToOverlay];
- NSArray* browserViews =
- [NSArray arrayWithObjects:[toolbarController_ view],
- nil];
- return [views arrayByAddingObjectsFromArray:browserViews];
-}
-
// Undocumented method for multi-touch gestures in 10.5. Future OS's will
// likely add a public API, but the worst that will happen is that this will
// turn into dead code and just won't get called.
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698