summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/fullscreen_controller.h
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 21:05:27 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 21:05:27 +0000
commit31bc8187ef820821983d77a74a26c9c123fb5d46 (patch)
tree10bdd7341b3edf471fe480a50712102107214ae8 /chrome/browser/cocoa/fullscreen_controller.h
parent3a10cfb4090879bf56355b81a15a2324098bfb1a (diff)
downloadchromium_src-31bc8187ef820821983d77a74a26c9c123fb5d46.zip
chromium_src-31bc8187ef820821983d77a74a26c9c123fb5d46.tar.gz
chromium_src-31bc8187ef820821983d77a74a26c9c123fb5d46.tar.bz2
Mac: fix fullscreen floating bar in popup windows.
BUG=37699 TEST=Make sure the following types of windows look correct in fullscreen mode (in particular, the toolbar/menu should slide down properly and look nice): (1) normal windows (with tab strip), (2) popup windows with location bar, (3) "app" windows such as the dev tools window. Also make sure these things show correctly with themes and the bookmark bar enabled. Review URL: http://codereview.chromium.org/747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/fullscreen_controller.h')
-rw-r--r--chrome/browser/cocoa/fullscreen_controller.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/fullscreen_controller.h b/chrome/browser/cocoa/fullscreen_controller.h
index f599835..832d3de 100644
--- a/chrome/browser/cocoa/fullscreen_controller.h
+++ b/chrome/browser/cocoa/fullscreen_controller.h
@@ -83,10 +83,11 @@
showDropdown:(BOOL)showDropdown;
- (void)exitFullscreen;
-// Returns the amount by which the tab strip should be offset and the overlay
-// view should be enlarged, vertically. Generally, this is > 0 when the
-// fullscreen window is on the primary screen and 0 otherwise.
-- (CGFloat)tabStripVerticalOffset;
+// Returns the amount by which the floating bar should be offset downwards (to
+// avoid the menu) and by which the overlay view should be enlarged vertically.
+// Generally, this is > 0 when the fullscreen window is on the primary screen
+// and 0 otherwise.
+- (CGFloat)floatingBarVerticalOffset;
// Informs the controller that the overlay's frame has changed. The controller
// uses this information to update its tracking areas.