Index: ui/aura/client/activation_client.h |
diff --git a/ui/aura/client/activation_client.h b/ui/aura/client/activation_client.h |
index 0c332585b07e20c6709b9993c0c48800cae936cf..7996a058a27d3af10c0ceb28e24ddbd48c1f4b43 100644 |
--- a/ui/aura/client/activation_client.h |
+++ b/ui/aura/client/activation_client.h |
@@ -33,6 +33,10 @@ class AURA_EXPORT ActivationClient { |
// may be NULL. Returning false blocks |window| from getting focus. |
virtual bool OnWillFocusWindow(Window* window, const Event* event) = 0; |
+ // Returns true if |window| can be activated, false otherwise. If |window| has |
+ // a modal child it can not be activated. |
+ virtual bool CanActivateWindow(Window* window) const = 0; |
+ |
protected: |
virtual ~ActivationClient() {} |
}; |