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

Issue 2539453002: IME for Mus: Add ui.mojom.CompositionText and its struct traits. (Closed)

Created:
4 years ago by Hadi
Modified:
4 years ago
Reviewers:
Tom Sepez, sadrul, sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, 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: Add ui.mojom.CompositionText and its struct traits. - Adds ui.mojom.CompositionUnderline and ui.mojom.CompositionText. - Adds corresponding struct traits + unittest for struct traits. - Breaks ui.mojom.TextInputClient::OnCompositionEvent() into multiple functions, each corresponding to a function in ui::TextInputClient. BUG=631524 Committed: https://crrev.com/ead76a6a60d2db90bec1d257f47422c2e059db1c Cr-Commit-Position: refs/heads/master@{#436143}

Patch Set 1 #

Patch Set 2 : Compiles. #

Patch Set 3 : Initial version of struct traits. #

Patch Set 4 : More code. #

Patch Set 5 : cleanup. #

Total comments: 4

Patch Set 6 : Update TODO. #

Patch Set 7 : Rebased. #

Patch Set 8 : cleanup. #

Total comments: 6

Patch Set 9 : Fix Windows Compile error. #

Patch Set 10 : Addressed feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -225 lines) Patch
M chrome/browser/ui/views/ime_driver_mus.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/ime_driver_mus.cc View 1 2 3 4 5 6 2 chunks +2 lines, -6 lines 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ime/ime_registrar_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ime/ime_server_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ime/ime_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +14 lines, -15 lines 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_application.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_driver.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_driver.cc View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M services/ui/public/interfaces/BUILD.gn View 1 2 3 4 chunks +3 lines, -1 line 0 comments Download
M services/ui/public/interfaces/ime.mojom View 1 2 1 chunk +0 lines, -116 lines 0 comments Download
A services/ui/public/interfaces/ime/BUILD.gn View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/ime/OWNERS View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A + services/ui/public/interfaces/ime/ime.mojom View 1 2 3 4 5 6 7 8 9 3 chunks +41 lines, -21 lines 0 comments Download
A services/ui/public/interfaces/ime/ime.typemap View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/ime/ime_struct_traits.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/ime/ime_struct_traits.cc View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/ime/ime_struct_traits_test.mojom View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/ime/ime_struct_traits_unittest.cc View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
A services/ui/public/interfaces/ime/typemaps.gni View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M services/ui/service.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/mus/input_method_mus.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/mus/input_method_mus.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/mus/text_input_client_impl.h View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M ui/aura/mus/text_input_client_impl.cc View 1 2 3 2 chunks +23 lines, -23 lines 0 comments Download
M ui/base/ime/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/input_method_mus.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/input_method_mus.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/text_input_client_impl.h View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M ui/views/mus/text_input_client_impl.cc View 1 2 3 2 chunks +23 lines, -23 lines 0 comments Download

Messages

Total messages: 37 (22 generated)
Hadi
PTAL. I could make InputMethod extensions work in a local branch. I'm breaking those changes ...
4 years ago (2016-11-29 15:56:07 UTC) #5
sadrul
https://codereview.chromium.org/2539453002/diff/80001/services/ui/public/interfaces/ime/ime.mojom File services/ui/public/interfaces/ime/ime.mojom (right): https://codereview.chromium.org/2539453002/diff/80001/services/ui/public/interfaces/ime/ime.mojom#newcode120 services/ui/public/interfaces/ime/ime.mojom:120: // crbug.com/631527. Should this TODO be updated? https://codereview.chromium.org/2539453002/diff/80001/ui/base/ime/BUILD.gn File ...
4 years ago (2016-11-29 20:51:35 UTC) #8
Hadi
https://codereview.chromium.org/2539453002/diff/80001/services/ui/public/interfaces/ime/ime.mojom File services/ui/public/interfaces/ime/ime.mojom (right): https://codereview.chromium.org/2539453002/diff/80001/services/ui/public/interfaces/ime/ime.mojom#newcode120 services/ui/public/interfaces/ime/ime.mojom:120: // crbug.com/631527. On 2016/11/29 20:51:35, sadrul wrote: > Should ...
4 years ago (2016-11-29 21:33:38 UTC) #9
sadrul
lgtm
4 years ago (2016-11-30 17:08:33 UTC) #10
sky
https://codereview.chromium.org/2539453002/diff/140001/services/ui/ime/ime_unittest.cc File services/ui/ime/ime_unittest.cc (right): https://codereview.chromium.org/2539453002/diff/140001/services/ui/ime/ime_unittest.cc#newcode103 services/ui/ime/ime_unittest.cc:103: EXPECT_TRUE(received_event && received_event->IsKeyEvent()); EXPECT->ASSERT, otherwise line 106 will crash. ...
4 years ago (2016-11-30 21:55:41 UTC) #11
Hadi
Addressed feedback. tsepez@: can you please review mojom files? Fixing the weird windows compile errors ...
4 years ago (2016-12-01 19:31:42 UTC) #17
Tom Sepez
I'd expected to see a manifest file showing where this can be called. The ability ...
4 years ago (2016-12-01 19:46:40 UTC) #20
Hadi
On 2016/12/01 19:46:40, Tom Sepez wrote: > I'd expected to see a manifest file showing ...
4 years ago (2016-12-01 20:19:48 UTC) #23
sky
Makes sense, LGTM
4 years ago (2016-12-01 20:20:19 UTC) #24
Tom Sepez
lgtm
4 years ago (2016-12-01 21:20:11 UTC) #25
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/2539453002/180001
4 years ago (2016-12-02 21:12:26 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/191871)
4 years ago (2016-12-03 00:37:36 UTC) #30
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/2539453002/180001
4 years ago (2016-12-03 00:44:49 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years ago (2016-12-03 02:27:17 UTC) #35
commit-bot: I haz the power
4 years ago (2016-12-03 02:29:57 UTC) #37
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/ead76a6a60d2db90bec1d257f47422c2e059db1c
Cr-Commit-Position: refs/heads/master@{#436143}

Powered by Google App Engine
This is Rietveld 408576698