Index: ui/aura/desktop_host.h |
diff --git a/ui/aura/desktop_host.h b/ui/aura/desktop_host.h |
index 0ac7be1d039367a3da93388ae02cf3c82c00f2e1..cad94d05f768403f7916b35c15d07040913c0e43 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; |
@@ -64,6 +68,9 @@ class DesktopHost : public MessageLoop::Dispatcher { |
// Posts |native_event| to the platform's event queue. |
virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; |
+ |
+ // Gets the input method for the desktop. |
+ virtual ui::InputMethod* GetInputMethod() = 0; |
}; |
} // namespace aura |