Index: chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h |
diff --git a/chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h b/chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h |
index 4b83a7253a2796b6fad2ce60a869f7956dfe23aa..8ca254dc090c48abdac294c8bc1ff67dad05c712 100644 |
--- a/chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h |
+++ b/chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_UI_VIEWS_IME_DRIVER_INPUT_METHOD_BRIDGE_CHROMEOS_H_ |
#define CHROME_BROWSER_UI_VIEWS_IME_DRIVER_INPUT_METHOD_BRIDGE_CHROMEOS_H_ |
+#include "chrome/browser/ui/views/ime_driver/remote_text_input_client.h" |
#include "services/ui/public/interfaces/ime/ime.mojom.h" |
#include "ui/base/ime/input_method_chromeos.h" |
@@ -12,7 +13,7 @@ |
// forwards the received events to an instance of ui::InputMethodChromeOS. |
class InputMethodBridge : public ui::mojom::InputMethod { |
public: |
- explicit InputMethodBridge(ui::mojom::TextInputClientPtr client); |
+ explicit InputMethodBridge(std::unique_ptr<RemoteTextInputClient> client); |
~InputMethodBridge() override; |
// ui::mojom::InputMethod: |
@@ -23,7 +24,7 @@ class InputMethodBridge : public ui::mojom::InputMethod { |
void CancelComposition() override; |
private: |
- std::unique_ptr<ui::TextInputClient> client_; |
+ std::unique_ptr<RemoteTextInputClient> client_; |
std::unique_ptr<ui::InputMethodChromeOS> input_method_chromeos_; |
DISALLOW_COPY_AND_ASSIGN(InputMethodBridge); |