| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_COCOA_BROWSER_WINDOW_FULLSCREEN_TRANSITION_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_FULLSCREEN_TRANSITION_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_FULLSCREEN_TRANSITION_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_FULLSCREEN_TRANSITION_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 @class BrowserWindowController; | 10 @class BrowserWindowController; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // hooking up this logic. | 126 // hooking up this logic. |
| 127 - (BOOL)shouldWindowBeUnconstrained; | 127 - (BOOL)shouldWindowBeUnconstrained; |
| 128 | 128 |
| 129 // Returns the size of the window we expect the BrowserWindowLayout to have. | 129 // Returns the size of the window we expect the BrowserWindowLayout to have. |
| 130 // During the exit fullscreen transition, the content size shrinks while the | 130 // During the exit fullscreen transition, the content size shrinks while the |
| 131 // window frame stays the same. When that happens, we want to set the | 131 // window frame stays the same. When that happens, we want to set the |
| 132 // BrowserWindowLayout's window parameter to the content size instead of the | 132 // BrowserWindowLayout's window parameter to the content size instead of the |
| 133 // actual window's size. | 133 // actual window's size. |
| 134 - (NSSize)desiredWindowLayoutSize; | 134 - (NSSize)desiredWindowLayoutSize; |
| 135 | 135 |
| 136 // Called when the browser is destroyed. |
| 137 - (void)browserWillBeDestroyed; |
| 138 |
| 136 @end | 139 @end |
| 137 | 140 |
| 138 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_FULLSCREEN_TRANSITION_H_ | 141 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_FULLSCREEN_TRANSITION_H_ |
| OLD | NEW |