| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // NSAnimationDelegate method, invoked when bounds animation is finished. | 118 // NSAnimationDelegate method, invoked when bounds animation is finished. |
| 119 - (void)animationDidEnd:(NSAnimation*)animation; | 119 - (void)animationDidEnd:(NSAnimation*)animation; |
| 120 // Terminates current bounds animation, if any. | 120 // Terminates current bounds animation, if any. |
| 121 - (void)terminateBoundsAnimation; | 121 - (void)terminateBoundsAnimation; |
| 122 | 122 |
| 123 - (BOOL)isAnimatingBounds; | 123 - (BOOL)isAnimatingBounds; |
| 124 | 124 |
| 125 // Removes the Key status from the panel to some other window. | 125 // Removes the Key status from the panel to some other window. |
| 126 - (void)deactivate; | 126 - (void)deactivate; |
| 127 | 127 |
| 128 // See NativePanel::FullScreenModeChanged |
| 129 - (void)fullScreenModeChanged:(bool)isFullScreenModeOn; |
| 130 |
| 128 // Helper for NSWindow, returns NO for minimized panels in some cases, so they | 131 // Helper for NSWindow, returns NO for minimized panels in some cases, so they |
| 129 // are not un-minimized when another panel is minimized. | 132 // are not un-minimized when another panel is minimized. |
| 130 - (BOOL)canBecomeKeyWindow; | 133 - (BOOL)canBecomeKeyWindow; |
| 131 | 134 |
| 132 @end // @interface PanelWindowController | 135 @end // @interface PanelWindowController |
| 133 | 136 |
| 134 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ | 137 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ |
| OLD | NEW |