Index: ui/aura/desktop_host.h |
diff --git a/ui/aura/desktop_host.h b/ui/aura/desktop_host.h |
index b276dead1e1ad6609ba65729ab472eea254ceb13..2d0b936ec98d6421b5086330a7594fd932d3615d 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; |
@@ -61,6 +65,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 |