Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_PRIVATE_H_ | |
| 6 #define CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_PRIVATE_H_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" | |
| 11 | |
| 12 // Private methods exposed for testing. | |
| 13 @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.
| |
| 14 // Adjusts the AppKit Fullscreen options of the application. | |
| 15 - (void)setSystemFullscreenModeTo:(base::mac::FullScreenMode)mode; | |
| 16 | |
| 17 // Callback for menu bar animations. | |
| 18 - (void)setMenuBarRevealProgress:(CGFloat)progress; | |
| 19 | |
| 20 // Updates the local state that reflects the fraction of the toolbar area that | |
| 21 // is showing. This function has the side effect of changing the AppKit | |
| 22 // Fullscreen option for whether the menu bar is shown. | |
| 23 - (void)changeToolbarFraction:(CGFloat)fraction; | |
| 24 @end | |
| 25 | |
| 26 #endif // CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_PRIVATE_H_ | |
| OLD | NEW |