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

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

Issue 3136003: [Mac] Refactor the fullscreen code to move logic from BWC into FullscreenCont... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/browser_window_controller.h
===================================================================
--- chrome/browser/cocoa/browser_window_controller.h (revision 58173)
+++ chrome/browser/cocoa/browser_window_controller.h (working copy)
@@ -98,18 +98,10 @@
// Needed to access the view to move it to/from the fullscreen window.
scoped_nsobject<IncognitoImageView> incognitoBadge_;
- // Lazily created view which draws the background for the floating set of bars
- // in fullscreen mode (for window types having a floating bar; it remains nil
- // for those which don't).
- scoped_nsobject<NSView> floatingBarBackingView_;
-
// Tracks whether the floating bar is above or below the bookmark bar, in
// terms of z-order.
BOOL floatingBarAboveBookmarkBar_;
- // The proportion of the floating bar which is shown (in fullscreen mode).
- CGFloat floatingBarShownFraction_;
-
// Various UI elements/events may want to ensure that the floating bar is
// visible (in fullscreen mode), e.g., because of where the mouse is or where
// keyboard focus is. Whenever an object requires bar visibility, it has
@@ -314,11 +306,6 @@
// resolution.
- (void)resizeFullscreenWindow;
-// Gets or sets the fraction of the floating bar (fullscreen overlay) that is
-// shown. 0 is completely hidden, 1 is fully shown.
-- (CGFloat)floatingBarShownFraction;
-- (void)setFloatingBarShownFraction:(CGFloat)fraction;
-
// 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 fullscreen mode, but should
@@ -343,6 +330,8 @@
// Opens the tabpose window.
- (void)openTabpose;
+- (void)floatingBarShownFractionChanged;
+
@end // @interface BrowserWindowController(Fullscreen)
@@ -366,9 +355,6 @@
// function should be followed by a call to |layoutSubviews|.
- (void)adjustWindowHeightBy:(CGFloat)deltaH;
-// Return an autoreleased NSWindow suitable for fullscreen use.
-- (NSWindow*)createFullscreenWindow;
-
// Resets any saved state about window growth (due to showing the bookmark bar
// or the download shelf), so that future shrinking will occur from the bottom.
- (void)resetWindowGrowthState;
« no previous file with comments | « no previous file | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698