Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6335)

Unified Diff: chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h

Issue 2626983003: IME for Mus: Send TextInputClient information to IMEDriver. (Closed)
Patch Set: fix mojo dependencies. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698