Chromium Code Reviews| 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_ |