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

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

Issue 2086273003: [Mac] Reveal Fullscreen Toolbar for Tab Strip Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scoped_nsobject Created 4 years, 6 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/presentation_mode_controller.h
diff --git a/chrome/browser/ui/cocoa/presentation_mode_controller.h b/chrome/browser/ui/cocoa/presentation_mode_controller.h
index 56bb6f004d2e4ca941c72868eed9de31b4561651..642df15240f36dd2f7e7ff6caa7de2ff7c83e0d7 100644
--- a/chrome/browser/ui/cocoa/presentation_mode_controller.h
+++ b/chrome/browser/ui/cocoa/presentation_mode_controller.h
@@ -98,6 +98,9 @@ enum SlidingStyle {
// A Carbon event handler that tracks the revealed fraction of the menu bar.
EventHandlerRef menuBarTrackingHandler_;
+
+ // True when the toolbar is dropped to show tabstrip changes.
+ BOOL revealToolbarForTabStripChanges_;
}
@property(readonly, nonatomic) BOOL inPresentationMode;
@@ -137,6 +140,9 @@ enum SlidingStyle {
// Cancels any running animation and timers.
- (void)cancelAnimationAndTimers;
+// Animates the toolbar dropping down to show changes to the tab strip.
+- (void)revealToolbarForTabStripChanges;
+
// In any fullscreen mode, the y offset to use for the content at the top of
// the screen (tab strip, omnibox, bookmark bar, etc).
// Ranges from 0 to -22.
@@ -163,6 +169,7 @@ enum SlidingStyle {
// is showing. This function has the side effect of changing the AppKit
// Fullscreen option for whether the menu bar is shown.
- (void)changeToolbarFraction:(CGFloat)fraction;
+
@end
// Notification posted when we're about to enter or leave fullscreen.

Powered by Google App Engine
This is Rietveld 408576698