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 |