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

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

Issue 1276383004: Implemented fullscreen exit animation with AppKit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed format issues Created 5 years, 4 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 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 ec6da688f6e308387b6e555bae23564dec4bb4c7..e688751b713b2cf03282b6864cda8d79216745fb 100644
--- a/chrome/browser/ui/cocoa/framed_browser_window.h
+++ b/chrome/browser/ui/cocoa/framed_browser_window.h
@@ -35,6 +35,10 @@ const CGFloat kBrowserFrameViewPaintHeight = 60.0;
NSButton* miniaturizeButton_;
NSButton* zoomButton_;
+ // This is a lock which prevents the the frame and style
+ // of the window to be changed when it's set to YES
erikchen 2015/08/10 18:06:25 Grammar. This lock prevents the frame and style o
spqchan1 2015/08/12 19:34:41 Done.
+ BOOL frameAndStyleLock_;
+
CGFloat windowButtonsInterButtonSpacing_;
}
@@ -45,6 +49,8 @@ const CGFloat kBrowserFrameViewPaintHeight = 60.0;
// Tells the window to suppress title drawing.
- (void)setShouldHideTitle:(BOOL)flag;
+- (void) setFrameAndStyleLock:(BOOL)lock;
erikchen 2015/08/10 18:06:25 extra whitespace after (void)
spqchan1 2015/08/11 21:43:48 Done.
+
// Returns the desired spacing between window control views.
- (CGFloat)windowButtonsInterButtonSpacing;

Powered by Google App Engine
This is Rietveld 408576698