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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 7890056: FullscreenExitBubble temp UI for Mac. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: ready for review Created 9 years, 3 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
Index: chrome/browser/ui/cocoa/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 897dad04313f68dd1a875383f85fabfb47d1a715..6d5776f95b014401b7757f95fc8ab607b1c3e3a2 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -19,6 +19,7 @@
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h"
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h"
#import "chrome/browser/ui/cocoa/browser_command_executor.h"
+#import "chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h"
#import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h"
#import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
#import "chrome/browser/ui/cocoa/tabs/tab_window_controller.h"
@@ -73,6 +74,8 @@ class TabContents;
scoped_nsobject<SidebarController> sidebarController_;
scoped_nsobject<PreviewableContentsController> previewableContentsController_;
scoped_nsobject<PresentationModeController> presentationModeController_;
+ scoped_nsobject<FullscreenExitBubbleController>
+ fullscreenExitBubbleController_;
// Strong. StatusBubble is a special case of a strong reference that
// we don't wrap in a scoped_ptr because it is acting the same
@@ -121,6 +124,8 @@ class TabContents;
// nil for those which don't).
scoped_nsobject<NSView> floatingBarBackingView_;
+ BOOL showFloatingChrome_;
Nico 2011/09/15 04:37:32 Add a (redundant with the method comment) comment,
jeremya 2011/09/15 06:33:28 Done.
+
// Tracks whether the floating bar is above or below the bookmark bar, in
// terms of z-order.
BOOL floatingBarAboveBookmarkBar_;
@@ -392,6 +397,9 @@ class TabContents;
- (CGFloat)floatingBarShownFraction;
- (void)setFloatingBarShownFraction:(CGFloat)fraction;
+// Sets whether to show the chrome that drops down from the top of the screen.
+- (void)setShowFloatingChrome:(BOOL)showChrome;
+
// Query/lock/release the requirement that the tab strip/toolbar/attached
// bookmark bar bar cluster is visible (e.g., when one of its elements has
// focus). This is required for the floating bar in presentation mode, but

Powered by Google App Engine
This is Rietveld 408576698