Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_fullscreen_transition.h

Issue 1850313002: Fix Fullscreen Animation Crash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/browser_window_fullscreen_transition.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698