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

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

Issue 2355413007: [Mac] Refactor the Fullscreen Toolbar (Closed)
Patch Set: Nits and grits Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/browser_window_controller_private.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.h b/chrome/browser/ui/cocoa/browser_window_controller_private.h
index d81a03c00a89746eb8657b01fec1563c9adc2fb6..0511d1f7f581ba687eaa9d289e29176d10911245 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.h
@@ -7,7 +7,7 @@
#import "chrome/browser/ui/cocoa/browser_window_controller.h"
#import "chrome/browser/ui/cocoa/browser_window_layout.h"
-#import "chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h"
+#import "chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_layout_manager.h"
@class BrowserWindowLayout;
class PermissionRequestManager;
@@ -87,16 +87,6 @@ class WebContents;
- (void)registerForContentViewResizeNotifications;
- (void)deregisterForContentViewResizeNotifications;
-// Allows/prevents bar visibility locks and releases from updating the visual
-// state. Enabling makes changes instantaneously; disabling cancels any
-// timers/animation.
-- (void)enableBarVisibilityUpdates;
-- (void)disableBarVisibilityUpdates;
-
-// If there are no visibility locks and bar visibity updates are enabled, hides
-// the bar with |animation|. Otherwise, does nothing.
-- (void)hideOverlayIfPossibleWithAnimation:(BOOL)animation;
-
// The opacity for the toolbar divider; 0 means that it shouldn't be shown.
- (CGFloat)toolbarDividerOpacity;
@@ -106,24 +96,6 @@ class WebContents;
// The min Y of the bubble point in the coordinate space of the toolbar.
- (NSInteger)pageInfoBubblePointY;
-// Configures the fullscreenToolbarController_ right after it is constructed.
-- (void)configureFullscreenToolbarController;
-
-// Allows the omnibox to slide. Also prepares UI for several fullscreen modes.
-// This method gets called when entering AppKit fullscren, or when entering
-// Immersive fullscreen. Expects fullscreenStyle_ to be set.
-- (void)adjustUIForSlidingFullscreenStyle:(FullscreenSlidingStyle)style;
-
-// This method gets called when exiting AppKit fullscreen, or when exiting
-// Immersive fullscreen. It performs some common UI changes, and stops the
-// omnibox from sliding.
-- (void)adjustUIForExitingFullscreenAndStopOmniboxSliding;
-
-// Exposed for testing.
-// Creates a FullscreenToolbarController with the given style.
-- (FullscreenToolbarController*)newFullscreenToolbarControllerWithStyle:
- (FullscreenSlidingStyle)style;
-
// Toggles the AppKit Fullscreen API. By default, doing so enters Canonical
// Fullscreen.
- (void)enterAppKitFullscreen;
@@ -187,9 +159,6 @@ class WebContents;
// it when we are entering fullscreen.
- (void)adjustUIForEnteringFullscreen;
-// Returns YES if the fullscreen is for tab content or an extension.
-- (BOOL)isFullscreenForTabContentOrExtension;
-
@end // @interface BrowserWindowController(Private)
#endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698