Index: ui/aura/window_delegate.h |
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h |
index 034ad8e49edd6a7a94107a415b76418174409cf1..f86551192f57a1b16552ae449c3abb3080cc6ef5 100644 |
--- a/ui/aura/window_delegate.h |
+++ b/ui/aura/window_delegate.h |
@@ -52,6 +52,9 @@ class AURA_EXPORT WindowDelegate { |
virtual ui::TouchStatus OnTouchEvent(TouchEvent* event) = 0; |
+ // Returns true of the window can be focused. |
+ virtual bool CanFocus() = 0; |
+ |
// Returns true if the window should be activated. |event| is either the mouse |
// event supplied if the activation is the result of a mouse, or the touch |
// event if the activation is the result of a touch, or NULL if activation is |