Index: components/arc/ime/arc_ime_bridge.h |
diff --git a/components/arc/ime/arc_ime_bridge.h b/components/arc/ime/arc_ime_bridge.h |
index 7c969b33c1266b07896b9800ce872f164b575bc8..1fcfc1b2075c97a313314a8c9a2b846a60a6fb3c 100644 |
--- a/components/arc/ime/arc_ime_bridge.h |
+++ b/components/arc/ime/arc_ime_bridge.h |
@@ -45,6 +45,9 @@ class ArcImeBridge : public ArcService, |
// Injects the custom IPC host object for testing purpose only. |
void SetIpcHostForTesting(scoped_ptr<ArcImeIpcHost> test_ipc_host); |
+ // Injects the custom IME for testing purpose only. |
+ void SetInputMethodForTesting(ui::InputMethod* test_input_method); |
+ |
// Overridden from aura::EnvObserver: |
void OnWindowInitialized(aura::Window* new_window) override; |
@@ -104,6 +107,8 @@ class ArcImeBridge : public ArcService, |
aura::WindowTracker arc_windows_; |
aura::WindowTracker focused_arc_window_; |
+ ui::InputMethod* test_input_method_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ArcImeBridge); |
}; |