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 5427fd2077a87f532925f93de59a9440f7279f6e..74bcb78527747e71aa2ea9da53d47399c371253b 100644 |
--- a/chrome/browser/ui/cocoa/presentation_mode_controller.h |
+++ b/chrome/browser/ui/cocoa/presentation_mode_controller.h |
@@ -143,6 +143,20 @@ enum SlidingStyle { |
@end |
+// Private methods exposed for testing. |
+@interface PresentationModeController (ExposedForTesting) |
+// Adjusts the AppKit Fullscreen options of the application. |
+- (void)setSystemFullscreenModeTo:(base::mac::FullScreenMode)mode; |
+ |
+// Callback for menu bar animations. |
+- (void)setMenuBarRevealProgress:(CGFloat)progress; |
+ |
+// Updates the local state that reflects the fraction of the toolbar area that |
+// 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. |
extern NSString* const kWillEnterFullscreenNotification; |
extern NSString* const kWillLeaveFullscreenNotification; |