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

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

Issue 2296903002: [Mac] Fullscreen Toolbar Edge Cases (Closed)
Patch Set: slight cleanup Created 4 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
Index: chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h
diff --git a/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h b/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h
index 667f65ecac082eab9b0dd7279c9cb341a0dee689..cd7b81d3c0019dc6f8fcdf8ec698221fd065509e 100644
--- a/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h
+++ b/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h
@@ -92,6 +92,9 @@ enum SlidingStyle {
// animateToolbarVisibility: and then set to NO after the animation has
// started.
BOOL shouldAnimateToolbarOut_;
+
+ BOOL isLockingBarVisibility_;
+ BOOL isReleasingBarVisibility_;
}
@property(nonatomic, assign) fullscreen_mac::SlidingStyle slidingStyle;
@@ -116,6 +119,9 @@ enum SlidingStyle {
// otherwise.
- (CGFloat)floatingBarVerticalOffset;
+- (void)lockBarVisibilityWithAnimation:(BOOL)animate;
+- (void)releaseBarVisibilityWithAnimation:(BOOL)animate;
+
// Informs the controller that the overlay should be shown/hidden, possibly
// with animation.
- (void)ensureOverlayShownWithAnimation:(BOOL)animate;

Powered by Google App Engine
This is Rietveld 408576698