Index: ui/aura/root_window.h |
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h |
index ddefbe709222e4aa420a6d610959604067010447..a95d817751090f14519ac4569162c60e93e8adec 100644 |
--- a/ui/aura/root_window.h |
+++ b/ui/aura/root_window.h |
@@ -26,6 +26,7 @@ class Size; |
} |
namespace ui { |
+class InputMethod; |
class LayerAnimationSequence; |
class Transform; |
} |
@@ -61,6 +62,10 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
Window* mouse_pressed_handler() { return mouse_pressed_handler_; } |
Window* capture_window() { return capture_window_; } |
ScreenAura* screen() { return screen_; } |
+ void set_input_method(ui::InputMethod* input_method) { |
+ input_method_ = input_method; // does not own |input_method|. |
+ } |
+ ui::InputMethod* input_method() const { return input_method_; } |
void SetStackingClient(StackingClient* stacking_client); |
@@ -236,6 +241,8 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
Window* focused_window_; |
Window* touch_event_handler_; |
+ ui::InputMethod* input_method_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RootWindow); |
}; |