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

Unified Diff: chrome/browser/ui/cocoa/presentation_mode_controller_private.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: Comments from andresantoso. 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_private.h
diff --git a/chrome/browser/ui/cocoa/presentation_mode_controller_private.h b/chrome/browser/ui/cocoa/presentation_mode_controller_private.h
new file mode 100644
index 0000000000000000000000000000000000000000..582b7a32aec4c611abf935a5740cf3f5eba39f27
--- /dev/null
+++ b/chrome/browser/ui/cocoa/presentation_mode_controller_private.h
@@ -0,0 +1,26 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_PRIVATE_H_
+#define CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_PRIVATE_H_
+
+#import <Cocoa/Cocoa.h>
+
+#import "chrome/browser/ui/cocoa/presentation_mode_controller.h"
+
+// Private methods exposed for testing.
+@interface PresentationModeController (Private)
Robert Sesek 2014/09/05 19:53:40 BWC has a separate file for its private methods be
erikchen 2014/09/05 20:47:01 Done.
+// 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
+
+#endif // CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698