Index: ui/aura/root_window.h |
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h |
index ddefbe709222e4aa420a6d610959604067010447..7f8247babbd9808665ac123a04c4815f5c80315d 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; |
} |
@@ -64,6 +65,10 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
void SetStackingClient(StackingClient* stacking_client); |
+ // Sets the input method for the root window. |
+ void SetInputMethod(ui::InputMethod* input_method); |
Ben Goodger (Google)
2011/12/12 16:51:03
The Shell can actually set this on the RootWindow
Yusuke Sato
2011/12/14 13:42:04
Done.
|
+ ui::InputMethod* GetInputMethod() const; |
+ |
// Shows the root window host. |
void ShowRootWindow(); |
@@ -194,6 +199,8 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
scoped_refptr<ui::Compositor> compositor_; |
+ scoped_ptr<ui::InputMethod> input_method_; |
+ |
scoped_ptr<RootWindowHost> host_; |
scoped_ptr<StackingClient> stacking_client_; |