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

Unified Diff: chrome/browser/app_controller_mac.h

Issue 37253004: Mac: delay window raising until space transitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing comma Created 7 years, 2 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/app_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.h
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h
index bc10cd2b94f0605ee1e39fcd3090f902863bdace..cf36c0aad609596c1de91eb30d38cb5917fc0f7f 100644
--- a/chrome/browser/app_controller_mac.h
+++ b/chrome/browser/app_controller_mac.h
@@ -14,6 +14,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/prefs/pref_change_registrar.h"
+#include "base/time/time.h"
#include "ui/base/work_area_watcher_observer.h"
class AppControllerProfileObserver;
@@ -80,6 +81,10 @@ class WorkAreaWatcherObserver;
// Indicates wheter an NSPopover is currently being shown.
BOOL hasPopover_;
+ // If we are expecting a workspace change in response to a reopen
+ // event, the time we got the event. A null time otherwise.
+ base::TimeTicks reopenTime_;
+
// Observers that listen to the work area changes.
ObserverList<ui::WorkAreaWatcherObserver> workAreaChangeObservers_;
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698