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

Unified Diff: ui/aura/desktop_host.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: rebase, review Created 9 years, 1 month 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/desktop_host.h
diff --git a/ui/aura/desktop_host.h b/ui/aura/desktop_host.h
index 06f6fe3b40dc28f6ec00fd8fa3c42bcc3b39ebd0..1fda2b61efd200c03f0c037f50f6b69d2cc4069c 100644
--- a/ui/aura/desktop_host.h
+++ b/ui/aura/desktop_host.h
@@ -10,6 +10,10 @@
#include "ui/aura/cursor.h"
#include "ui/gfx/native_widget_types.h"
+namespace ui {
+class InputMethod;
+}
+
namespace gfx {
class Point;
class Rect;
@@ -58,6 +62,9 @@ class DesktopHost : public MessageLoop::Dispatcher {
// You should probably call Desktop::last_mouse_location() instead; this
// method can be expensive.
virtual gfx::Point QueryMouseLocation() = 0;
+
+ // Gets the input method for the desktop.
+ virtual ui::InputMethod* GetInputMethod() = 0;
};
} // namespace aura
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/desktop_host_linux.cc » ('j') | ui/base/ime/input_method.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698