summaryrefslogtreecommitdiffstats
path: root/ui/aura/client/stacking_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/client/stacking_client.h')
-rw-r--r--ui/aura/client/stacking_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/aura/client/stacking_client.h b/ui/aura/client/stacking_client.h
index c56e319..26d137b 100644
--- a/ui/aura/client/stacking_client.h
+++ b/ui/aura/client/stacking_client.h
@@ -22,6 +22,11 @@ class AURA_EXPORT StackingClient {
// of its choosing.
virtual void AddChildToDefaultParent(Window* window) = 0;
+ // Returns true if |window| can be activated or deactivated.
+ // A window manager typically defines some notion of "top level window" that
+ // supports activation/deactivation.
+ virtual bool CanActivateWindow(Window* window) const = 0;
+
// Returns the window that should be activated other than |ignore|.
virtual Window* GetTopmostWindowToActivate(Window* ignore) const = 0;
};