Index: ui/aura/window.h |
diff --git a/ui/aura/window.h b/ui/aura/window.h |
index dbd2d2b3e44cff9c65b6df37b33ae35ca015da24..d6d6f7a574a84c4d4be8c62f1174932091ae259b 100644 |
--- a/ui/aura/window.h |
+++ b/ui/aura/window.h |
@@ -38,6 +38,7 @@ class Vector2d; |
namespace ui { |
class EventHandler; |
class Layer; |
+class TextInputClient; |
class Texture; |
} |
@@ -218,6 +219,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate, |
const Window* target, |
gfx::Rect* rect); |
+ // Returns the focused text input client within this window. |
+ // This function does not look at child windows. |
+ ui::TextInputClient* GetFocusedTextInputClient(); |
+ |
// Moves the cursor to the specified location relative to the window. |
void MoveCursorTo(const gfx::Point& point_in_window); |