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

Issue 2626983003: IME for Mus: Send TextInputClient information to IMEDriver. (Closed)

Created:
3 years, 11 months ago by Hadi
Modified:
3 years, 11 months ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tfarina, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IME for Mus: Send TextInputClient information to IMEDriver. Client sends type, mode, direction, flags, and caret bounds to IMEDriver when initializing a session. It can update type and caret bounds later using methods in InputMethod. Almost all other NOTIMPLEMENED() functions in RemoteTextInputClient are used solely by InputMethodChromeOS::OnCaretBoundsChanged() or its callees, which we might be able to avoid implementing in the IMEDriver side and handle in the client side. So we don't touch them in this CL and leave them to other CLs. BUG=631527 Review-Url: https://codereview.chromium.org/2626983003 Cr-Commit-Position: refs/heads/master@{#443929} Committed: https://chromium.googlesource.com/chromium/src/+/0869ab12cefea5628c54151869c88d8a21a78577

Patch Set 1 #

Patch Set 2 : rebased. #

Patch Set 3 : More code. #

Patch Set 4 : . #

Total comments: 5

Patch Set 5 : Addressed feedback. #

Total comments: 2

Patch Set 6 : rebased. #

Patch Set 7 : Handle when no focused client. #

Patch Set 8 : fix mojo dependencies. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -67 lines) Patch
M chrome/browser/ui/views/ime_driver/ime_driver_mus.h View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/ime_driver/ime_driver_mus.cc View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.cc View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos_unittest.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ime_driver/remote_text_input_client.h View 1 2 3 4 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ime_driver/remote_text_input_client.cc View 1 2 3 4 3 chunks +26 lines, -17 lines 0 comments Download
M services/ui/ime/ime_server_impl.h View 1 2 3 4 2 chunks +2 lines, -5 lines 0 comments Download
M services/ui/ime/ime_server_impl.cc View 1 2 3 4 2 chunks +5 lines, -10 lines 0 comments Download
M services/ui/ime/ime_unittest.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_driver.h View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_driver.cc View 1 2 3 4 5 6 1 chunk +4 lines, -6 lines 0 comments Download
M services/ui/public/interfaces/ime/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/public/interfaces/ime/ime.mojom View 1 2 3 4 5 6 3 chunks +16 lines, -4 lines 0 comments Download
M ui/aura/mus/input_method_mus.cc View 1 2 3 4 5 6 2 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 32 (25 generated)
Hadi
sky@ please take a look. tsepez@ please review ime.mojom. I couldn't think a way to ...
3 years, 11 months ago (2017-01-13 18:42:39 UTC) #9
sky
https://codereview.chromium.org/2626983003/diff/60001/chrome/browser/ui/views/ime_driver/remote_text_input_client.h File chrome/browser/ui/views/ime_driver/remote_text_input_client.h (right): https://codereview.chromium.org/2626983003/diff/60001/chrome/browser/ui/views/ime_driver/remote_text_input_client.h#newcode16 chrome/browser/ui/views/ime_driver/remote_text_input_client.h:16: explicit RemoteTextInputClient( remove explicit https://codereview.chromium.org/2626983003/diff/60001/services/ui/public/interfaces/ime/ime.mojom File services/ui/public/interfaces/ime/ime.mojom (right): https://codereview.chromium.org/2626983003/diff/60001/services/ui/public/interfaces/ime/ime.mojom#newcode116 ...
3 years, 11 months ago (2017-01-13 20:32:42 UTC) #12
Tom Sepez
mojom itself LGTM
3 years, 11 months ago (2017-01-13 21:07:27 UTC) #13
Hadi
https://codereview.chromium.org/2626983003/diff/60001/chrome/browser/ui/views/ime_driver/remote_text_input_client.h File chrome/browser/ui/views/ime_driver/remote_text_input_client.h (right): https://codereview.chromium.org/2626983003/diff/60001/chrome/browser/ui/views/ime_driver/remote_text_input_client.h#newcode16 chrome/browser/ui/views/ime_driver/remote_text_input_client.h:16: explicit RemoteTextInputClient( On 2017/01/13 20:32:41, sky wrote: > remove ...
3 years, 11 months ago (2017-01-13 21:47:53 UTC) #14
sky
LGTM
3 years, 11 months ago (2017-01-13 23:45:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2626983003/140001
3 years, 11 months ago (2017-01-16 18:37:35 UTC) #29
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 19:13:40 UTC) #32
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/0869ab12cefea5628c54151869c8...

Powered by Google App Engine
This is Rietveld 408576698