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

Unified Diff: chrome/browser/ui/cocoa/framed_browser_window.h

Issue 1408033010: Fix for Exit Fullscreen Animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comment Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/framed_browser_window.h
diff --git a/chrome/browser/ui/cocoa/framed_browser_window.h b/chrome/browser/ui/cocoa/framed_browser_window.h
index 8c31ba8cf116177b67003a7bc17f87d5ef2191d6..43fcac3d62e0bde17ca46acdb1393833109c0c8e 100644
--- a/chrome/browser/ui/cocoa/framed_browser_window.h
+++ b/chrome/browser/ui/cocoa/framed_browser_window.h
@@ -37,7 +37,7 @@ const CGFloat kBrowserFrameViewPaintHeight = 60.0;
// Locks the window's frame and style mask. If it's set to YES, then the
// frame and the style mask cannot be changed.
- BOOL frameAndStyleMaskLock_;
+ BOOL styleMaskLock_;
CGFloat windowButtonsInterButtonSpacing_;
}
@@ -53,18 +53,12 @@ const CGFloat kBrowserFrameViewPaintHeight = 60.0;
// changed. This is used to prevent AppKit from making these unwanted changes
// to the window during exit fullscreen transition. It is very important to
// release this lock after the transition is completed.
-- (void)setFrameAndStyleMaskLock:(BOOL)lock;
+- (void)setStyleMaskLock:(BOOL)lock;
// This method is overridden to prevent AppKit from setting the style mask
// when frameAndStyleMaskLock_ is set to true.
- (void)setStyleMask:(NSUInteger)styleMask;
-// This method is overridden to prevent the AppKit from setting the frame when
-// frameAndStyleMaskLock_ is set to true.
-- (void)setFrame:(NSRect)windowFrame
- display:(BOOL)displayViews
- animate:(BOOL)performAnimation;
-
// Returns the desired spacing between window control views.
- (CGFloat)windowButtonsInterButtonSpacing;
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_fullscreen_transition.mm ('k') | chrome/browser/ui/cocoa/framed_browser_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698