Index: ash/wm/activation_controller.h |
diff --git a/ash/wm/activation_controller.h b/ash/wm/activation_controller.h |
index df19a52ae8eb973d1be759d7ed774a61f18eef52..918bedc84a6694bd41027c410bc5deba46114dee 100644 |
--- a/ash/wm/activation_controller.h |
+++ b/ash/wm/activation_controller.h |
@@ -34,6 +34,12 @@ class ASH_EXPORT ActivationController |
static aura::Window* GetActivatableWindow(aura::Window* window, |
const aura::Event* event); |
+ // Determines if the given window itself can be activated or not. Returns |
sky
2012/03/27 14:59:58
How about:
Returns true if |window| can be activat
yoshiki
2012/03/28 15:08:41
Done. Thanks, I've used it. And the comment has be
|
+ // true if the window itself can be activated. (If it has a modal child |
+ // window, it cannot be activated, because the focus is propagated) Otherwise, |
+ // return false. |
+ static bool CanActivateWindowItself(aura::Window* window); |
sky
2012/03/27 14:59:58
Just CanActivateWindow, and this should be a metho
yoshiki
2012/03/28 15:08:41
Done.
|
+ |
// Overridden from aura::client::ActivationClient: |
virtual void ActivateWindow(aura::Window* window) OVERRIDE; |
virtual void DeactivateWindow(aura::Window* window) OVERRIDE; |