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

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

Issue 545643002: mac: Add basic layout unit test for fullscreen transition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 5427fd2077a87f532925f93de59a9440f7279f6e..04f374e964275358ac969b6718452e9f5c5a6bf3 100644
--- a/chrome/browser/ui/cocoa/presentation_mode_controller.h
+++ b/chrome/browser/ui/cocoa/presentation_mode_controller.h
@@ -141,6 +141,14 @@ enum SlidingStyle {
// Ranges from 0 to -22.
- (CGFloat)menubarOffset;
+// Exposed for testing.
+// Adjusts the fullscreen state of the application.
+- (void)setSystemFullscreenModeTo:(base::mac::FullScreenMode)mode;
+
+// Exposed for testing.
+// Callback for menu bar animations.
+- (void)setMenuBarRevealProgress:(CGFloat)progress;
Andre 2014/09/05 00:13:00 Why are these 2 exposed here, but changeToolbarFra
erikchen 2014/09/05 17:57:49 Done.
+
@end
// Notification posted when we're about to enter or leave fullscreen.

Powered by Google App Engine
This is Rietveld 408576698