OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ |
7 | 7 |
8 // A class acting as the Objective-C controller for the Panel window | 8 // A class acting as the Objective-C controller for the Panel window |
9 // object. Handles interactions between Cocoa and the cross-platform | 9 // object. Handles interactions between Cocoa and the cross-platform |
10 // code. Each window has a single titlebar and is managed/owned by Panel. | 10 // code. Each window has a single titlebar and is managed/owned by Panel. |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // NSAnimationDelegate method, invoked when bounds animation is finished. | 122 // NSAnimationDelegate method, invoked when bounds animation is finished. |
123 - (void)animationDidEnd:(NSAnimation*)animation; | 123 - (void)animationDidEnd:(NSAnimation*)animation; |
124 // Terminates current bounds animation, if any. | 124 // Terminates current bounds animation, if any. |
125 - (void)terminateBoundsAnimation; | 125 - (void)terminateBoundsAnimation; |
126 | 126 |
127 - (BOOL)isAnimatingBounds; | 127 - (BOOL)isAnimatingBounds; |
128 | 128 |
129 // Removes the Key status from the panel to some other window. | 129 // Removes the Key status from the panel to some other window. |
130 - (void)deactivate; | 130 - (void)deactivate; |
131 | 131 |
| 132 // See Panel::FullScreenModeChanged. |
| 133 - (void)fullScreenModeChanged:(bool)isFullScreen; |
| 134 |
132 // Helper for NSWindow, returns NO for minimized panels in some cases, so they | 135 // Helper for NSWindow, returns NO for minimized panels in some cases, so they |
133 // are not un-minimized when another panel is minimized. | 136 // are not un-minimized when another panel is minimized. |
134 - (BOOL)canBecomeKeyWindow; | 137 - (BOOL)canBecomeKeyWindow; |
135 | 138 |
136 @end // @interface PanelWindowController | 139 @end // @interface PanelWindowController |
137 | 140 |
138 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ | 141 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ |
OLD | NEW |