Index: chrome/browser/ui/cocoa/tabs/tab_window_controller.h |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_window_controller.h b/chrome/browser/ui/cocoa/tabs/tab_window_controller.h |
index 0a5f72420f650ff38bf76734c2d258e8d48942ed..4bd2b13cf469e0cad40a0879e76f8fad5d6557c9 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_window_controller.h |
+++ b/chrome/browser/ui/cocoa/tabs/tab_window_controller.h |
@@ -123,6 +123,11 @@ |
- (void)moveTabViews:(NSArray*)views |
fromController:(TabWindowController*)controller; |
+// Called if the tab is in a detached window and has finished dragging. |
+// If the source window is in fullscreen, the detached window will also |
+// enter fullscreen. |
+- (void)detachedWindowEnterFullscreenIfNeeded:(TabWindowController*)source; |
+ |
// Number of tabs in the tab strip. Useful, for example, to know if we're |
// dragging the only tab in the window. This includes pinned tabs (both live |
// and not). |
@@ -149,6 +154,10 @@ |
// Gets whether a particular tab is draggable between windows. |
- (BOOL)isTabDraggable:(NSView*)tabView; |
+// In any fullscreen mode, the y offset to use for the content at the top of |
+// the screen (tab strip, omnibox, bookmark bar, etc). Ranges from 0 to -22. |
+- (CGFloat)menubarOffset; |
+ |
// Tell the window that it needs to call performClose: as soon as the current |
// drag is complete. This prevents a window (and its overlay) from going away |
// during a drag. |