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

Unified Diff: ui/aura/client/activation_change_observer.h

Issue 14222019: Trying to activate a window in a workspace other than the current is ignored while a system modal d… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nits Created 7 years, 8 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 | « ash/wm/workspace_controller.cc ('k') | ui/views/corewm/focus_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/activation_change_observer.h
diff --git a/ui/aura/client/activation_change_observer.h b/ui/aura/client/activation_change_observer.h
index 38fa39ce575f48fd98e73a73bac0564dcc34a247..2f247db04b34de831daf4ebfcccf001eda347495 100644
--- a/ui/aura/client/activation_change_observer.h
+++ b/ui/aura/client/activation_change_observer.h
@@ -21,6 +21,12 @@ class AURA_EXPORT ActivationChangeObserver {
virtual void OnWindowActivated(Window* gained_active,
Window* lost_active) = 0;
+ // Called when during window activation the currently active window is
+ // selected for activation. This can happen when a window requested for
+ // activation cannot be activated because a system modal window is active.
+ virtual void OnAttemptToReactivateWindow(aura::Window* request_active,
+ aura::Window* actual_active) {}
+
protected:
virtual ~ActivationChangeObserver() {}
};
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | ui/views/corewm/focus_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698