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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 97a4bd0b4005dbf01dc8ea2283b3b8fa4c94b943..60beb8bcc3ce0788c87027ba0c966be22e466781 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -31,7 +31,7 @@
class Browser;
class BrowserWindow;
class BrowserWindowCocoa;
-@class BrowserWindowEnterFullscreenTransition;
+@class BrowserWindowFullscreenTransition;
@class DevToolsController;
@class DownloadShelfController;
class ExtensionKeybindingRegistryCocoa;
@@ -82,8 +82,8 @@ class Command;
base::scoped_nsobject<PresentationModeController> presentationModeController_;
base::scoped_nsobject<ExclusiveAccessBubbleWindowController>
exclusiveAccessBubbleWindowController_;
- base::scoped_nsobject<BrowserWindowEnterFullscreenTransition>
- enterFullscreenTransition_;
+ base::scoped_nsobject<BrowserWindowFullscreenTransition>
+ fullscreenTransition_;
// Strong. StatusBubble is a special case of a strong reference that
// we don't wrap in a scoped_ptr because it is acting the same
@@ -132,6 +132,11 @@ class Command;
// AppKit fullscreen mode.
BOOL enteringAppKitFullscreen_;
+ // True between |-windowWillExitFullScreen:| and |-windowDidExitFullScreen:|
+ // to indicate that the window is in the process of transitioning out of
+ // AppKit fullscreen mode.
+ BOOL exitingAppKitFullscreen_;
+
// True between |enterImmersiveFullscreen| and |-windowDidEnterFullScreen:|
// to indicate that the window is in the process of transitioning into
// AppKit fullscreen mode.
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698