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

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

Issue 2626983003: IME for Mus: Send TextInputClient information to IMEDriver. (Closed)
Patch Set: . 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/remote_text_input_client.h
diff --git a/chrome/browser/ui/views/ime_driver/remote_text_input_client.h b/chrome/browser/ui/views/ime_driver/remote_text_input_client.h
index 056be5f1daa22e7fc1a0ed4c0ae88000181a24f2..7e84c38d590913b719d769236829afb991bff087 100644
--- a/chrome/browser/ui/views/ime_driver/remote_text_input_client.h
+++ b/chrome/browser/ui/views/ime_driver/remote_text_input_client.h
@@ -13,9 +13,14 @@
// ui::InputMethod::SetFocusedTextInputClient().
class RemoteTextInputClient : public ui::TextInputClient {
public:
- explicit RemoteTextInputClient(ui::mojom::TextInputClientPtr remote_client);
+ explicit RemoteTextInputClient(
sky 2017/01/13 20:32:41 remove explicit
Hadi 2017/01/13 21:47:52 Done.
+ ui::mojom::TextInputClientInformationPtr client_info,
+ ui::mojom::TextInputClientPtr remote_client);
~RemoteTextInputClient() override;
+ void SetTextInputType(ui::TextInputType text_input_type);
+ void SetCaretBounds(const gfx::Rect& caret_bounds);
+
private:
// ui::TextInputClient:
void SetCompositionText(const ui::CompositionText& composition) override;
@@ -48,6 +53,11 @@ class RemoteTextInputClient : public ui::TextInputClient {
void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override;
ui::mojom::TextInputClientPtr remote_client_;
+ ui::TextInputType text_input_type_;
+ ui::TextInputMode text_input_mode_;
+ base::i18n::TextDirection text_direction_;
+ int text_input_flags_;
+ gfx::Rect caret_bounds_;
DISALLOW_COPY_AND_ASSIGN(RemoteTextInputClient);
};

Powered by Google App Engine
This is Rietveld 408576698