Index: ui/aura/desktop.h |
diff --git a/ui/aura/desktop.h b/ui/aura/desktop.h |
index 10e7f64efa02aa96c6d863ddedcb64aeceeaf7a5..45fb055811495a7b1437b72efc70d30e2c49eeee 100644 |
--- a/ui/aura/desktop.h |
+++ b/ui/aura/desktop.h |
@@ -26,6 +26,7 @@ class Size; |
} |
namespace ui { |
+class InputMethod; |
class LayerAnimationSequence; |
class Transform; |
} |
@@ -136,6 +137,9 @@ class AURA_EXPORT Desktop : public ui::CompositorDelegate, |
// Overridden from Window: |
virtual void SetTransform(const ui::Transform& transform) OVERRIDE; |
+ // Gets the input method for the desktop. |
+ ui::InputMethod* GetInputMethod(); |
+ |
private: |
// Called whenever the mouse moves, tracks the current |mouse_moved_handler_|, |
// sending exited and entered events as its value changes. |