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

Side by Side 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: Removed extra include 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FULL_SIZE_CONTENT_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_FULL_SIZE_CONTENT_WINDOW_H_
6 #define CHROME_BROWSER_UI_COCOA_FULL_SIZE_CONTENT_WINDOW_H_ 6 #define CHROME_BROWSER_UI_COCOA_FULL_SIZE_CONTENT_WINDOW_H_
7 7
8 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 8 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 17 matching lines...) Expand all
28 base::scoped_nsobject<NSView> chromeWindowView_; 28 base::scoped_nsobject<NSView> chromeWindowView_;
29 } 29 }
30 30
31 // Designated initializer. 31 // Designated initializer.
32 - (instancetype)initWithContentRect:(NSRect)contentRect 32 - (instancetype)initWithContentRect:(NSRect)contentRect
33 styleMask:(NSUInteger)windowStyle 33 styleMask:(NSUInteger)windowStyle
34 backing:(NSBackingStoreType)bufferingType 34 backing:(NSBackingStoreType)bufferingType
35 defer:(BOOL)deferCreation 35 defer:(BOOL)deferCreation
36 wantsViewsOverTitlebar:(BOOL)wantsViewsOverTitlebar; 36 wantsViewsOverTitlebar:(BOOL)wantsViewsOverTitlebar;
37 37
38 // Forces the contentView to resize to the given size. This need to be forced
39 // because by default, the contentView will always have the same size as the
40 // window.
41 - (void)forceContentViewSize:(NSSize)size;
42
38 @end 43 @end
39 44
40 #endif // CHROME_BROWSER_UI_COCOA_FULL_SIZE_CONTENT_WINDOW_H_ 45 #endif // CHROME_BROWSER_UI_COCOA_FULL_SIZE_CONTENT_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/framed_browser_window.mm ('k') | chrome/browser/ui/cocoa/full_size_content_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698