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

Side by Side Diff: chrome/browser/cocoa/tab_window_controller.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TAB_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_TAB_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_TAB_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_TAB_WINDOW_CONTROLLER_H_
7 7
8 // A class acting as the Objective-C window controller for a window that has 8 // A class acting as the Objective-C window controller for a window that has
9 // tabs which can be dragged around. Tabs can be re-arranged within the same 9 // tabs which can be dragged around. Tabs can be re-arranged within the same
10 // window or dragged into other TabWindowController windows. This class doesn't 10 // window or dragged into other TabWindowController windows. This class doesn't
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 - (void)setTab:(NSView*)tabView isDraggable:(BOOL)draggable; 116 - (void)setTab:(NSView*)tabView isDraggable:(BOOL)draggable;
117 117
118 // Tell the window that it needs to call performClose: as soon as the current 118 // Tell the window that it needs to call performClose: as soon as the current
119 // drag is complete. This prevents a window (and its overlay) from going away 119 // drag is complete. This prevents a window (and its overlay) from going away
120 // during a drag. 120 // during a drag.
121 - (void)deferPerformClose; 121 - (void)deferPerformClose;
122 122
123 @end 123 @end
124 124
125 @interface TabWindowController(ProtectedMethods) 125 @interface TabWindowController(ProtectedMethods)
126 // A list of all the views that need to move to the overlay window. Subclasses
127 // can override this to add more things besides the tab strip. Be sure to
128 // call the superclass' version if overridden.
129 - (NSArray*)viewsToMoveToOverlay;
130
131 // Tells the tab strip to forget about this tab in preparation for it being 126 // Tells the tab strip to forget about this tab in preparation for it being
132 // put into a different tab strip, such as during a drop on another window. 127 // put into a different tab strip, such as during a drop on another window.
133 - (void)detachTabView:(NSView*)view; 128 - (void)detachTabView:(NSView*)view;
134 @end 129 @end
135 130
136 #endif // CHROME_BROWSER_TAB_WINDOW_CONTROLLER_H_ 131 #endif // CHROME_BROWSER_TAB_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/tab_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698