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

Unified Diff: chrome/browser/ui/cocoa/full_size_content_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/full_size_content_window.h
diff --git a/chrome/browser/ui/cocoa/full_size_content_window.h b/chrome/browser/ui/cocoa/full_size_content_window.h
index 1c8d44d776b01f47a9f246c0c5f87ca6d41568f8..f02b75135d23ba996e1b98426ddcef24377041d0 100644
--- a/chrome/browser/ui/cocoa/full_size_content_window.h
+++ b/chrome/browser/ui/cocoa/full_size_content_window.h
@@ -21,6 +21,15 @@
//
// This class currently does not support changing the window's style after the
// window has been initialized.
+
+@interface FullSizeContentView : NSView
erikchen 2015/08/10 18:06:26 You moved the @interface from the .mm to the .h, b
spqchan1 2015/08/11 21:43:48 Done.
+
+// This method allows us to set the content view size since setFrameSize is
+// overridden to prevent the view from shrinking
+- (void)forceFrameSize:(NSSize)size;
+
+@end
+
@interface FullSizeContentWindow : ChromeEventProcessingWindow {
@private
// Holds the view that replaces [window contentView]. This view has the same

Powered by Google App Engine
This is Rietveld 408576698