Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: ui/aura/root_window.h

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved IME code to aura_shell, not ready for review though Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698