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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller_private.h

Issue 7740044: Implement fullscreen info bubble on Win and Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win work Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
7 #pragma once 7 #pragma once
8 8
9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 9 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
10 10
(...skipping 26 matching lines...) Expand all
37 // Repositions the window's subviews. From the top down: toolbar, normal 37 // Repositions the window's subviews. From the top down: toolbar, normal
38 // bookmark bar (if shown), infobar, NTP detached bookmark bar (if shown), 38 // bookmark bar (if shown), infobar, NTP detached bookmark bar (if shown),
39 // content area, download shelf (if any). 39 // content area, download shelf (if any).
40 - (void)layoutSubviews; 40 - (void)layoutSubviews;
41 41
42 // Find the total height of the floating bar (in presentation mode). Safe to 42 // Find the total height of the floating bar (in presentation mode). Safe to
43 // call even when not in presentation mode. 43 // call even when not in presentation mode.
44 - (CGFloat)floatingBarHeight; 44 - (CGFloat)floatingBarHeight;
45 45
46 // Shows the informational "how to exit fullscreen" bubble. 46 // Shows the informational "how to exit fullscreen" bubble.
47 - (void)showFullscreenExitBubbleIfNecessary; 47 - (void)showFullscreenExitBubbleIfNecessaryWithURL:(const GURL&)url
48 showButtons:(BOOL)show_buttons;
48 - (void)destroyFullscreenExitBubbleIfNecessary; 49 - (void)destroyFullscreenExitBubbleIfNecessary;
49 50
50 // Lays out the presentation mode toggle button at the top right corner of the 51 // Lays out the presentation mode toggle button at the top right corner of the
51 // overlay. Creates the button if needed, and removes it if it is not needed. 52 // overlay. Creates the button if needed, and removes it if it is not needed.
52 // This method is safe to call on all OS versions. 53 // This method is safe to call on all OS versions.
53 - (void)layoutPresentationModeToggleAtOverlayMaxX:(CGFloat)maxX 54 - (void)layoutPresentationModeToggleAtOverlayMaxX:(CGFloat)maxX
54 overlayMaxY:(CGFloat)maxY; 55 overlayMaxY:(CGFloat)maxY;
55 56
56 // Lays out the tab strip at the given maximum y-coordinate, with the given 57 // Lays out the tab strip at the given maximum y-coordinate, with the given
57 // width, possibly for fullscreen mode; returns the new maximum y (below the 58 // width, possibly for fullscreen mode; returns the new maximum y (below the
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 163
163 // Allows/prevents bar visibility locks and releases from updating the visual 164 // Allows/prevents bar visibility locks and releases from updating the visual
164 // state. Enabling makes changes instantaneously; disabling cancels any 165 // state. Enabling makes changes instantaneously; disabling cancels any
165 // timers/animation. 166 // timers/animation.
166 - (void)enableBarVisibilityUpdates; 167 - (void)enableBarVisibilityUpdates;
167 - (void)disableBarVisibilityUpdates; 168 - (void)disableBarVisibilityUpdates;
168 169
169 @end // @interface BrowserWindowController(Private) 170 @end // @interface BrowserWindowController(Private)
170 171
171 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 172 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698