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

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: reduced 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
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..d0e2022962de098d7a78fd6fe00acdffdce658d3 100644
--- a/ui/aura/client/activation_change_observer.h
+++ b/ui/aura/client/activation_change_observer.h
@@ -21,6 +21,13 @@ 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 the a window
sky 2013/04/23 21:36:42 'when the a' -> 'when a'
sschmitz 2013/04/24 01:23:43 Done.
+ // 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() {}
};

Powered by Google App Engine
This is Rietveld 408576698