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

Issue 2945283002: Unify IMEDriver and IMEServer. (Closed)

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

Description

Unify IMEDriver and IMEServer. Each ui.mojom.InputMethod corresponds to one session. We don't need session_ids to identify them. Also removing the IMEDriver::CancelSession(). We can add it to ui.mojom.InputMethod later if needed. After these changes IMEDriver and IMEServer have the same interface, so unifying them. BUG=673358 Review-Url: https://codereview.chromium.org/2945283002 Cr-Commit-Position: refs/heads/master@{#481312} Committed: https://chromium.googlesource.com/chromium/src/+/3ab7311328652527bb7d8b1b5e64eb1bf0c05872

Patch Set 1 #

Patch Set 2 : Unified IMEDriver & IMEServer. #

Total comments: 1

Patch Set 3 : Addressed feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -199 lines) Patch
M chrome/browser/ui/views/ime_driver/ime_driver_mus.h View 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/ui/views/ime_driver/ime_driver_mus.cc View 1 chunk +6 lines, -13 lines 0 comments Download
M services/ui/ime/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + services/ui/ime/ime_driver_bridge.h View 1 2 2 chunks +11 lines, -12 lines 0 comments Download
A + services/ui/ime/ime_driver_bridge.cc View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
M services/ui/ime/ime_registrar_impl.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M services/ui/ime/ime_registrar_impl.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M services/ui/ime/ime_server_impl.h View 1 1 chunk +0 lines, -43 lines 0 comments Download
M services/ui/ime/ime_server_impl.cc View 1 1 chunk +0 lines, -55 lines 0 comments Download
M services/ui/ime/ime_unittest.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_driver.h View 2 chunks +1 line, -7 lines 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_driver.cc View 2 chunks +5 lines, -10 lines 0 comments Download
M services/ui/manifest.json View 1 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/public/interfaces/ime/ime.mojom View 1 1 chunk +0 lines, -9 lines 0 comments Download
M services/ui/service.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M services/ui/service.cc View 1 5 chunks +8 lines, -10 lines 0 comments Download
M ui/aura/mus/input_method_mus.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/mus/input_method_mus.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/test/mus/input_method_mus_test_api.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (21 generated)
Hadi
PTAL. Now IMEDriver and IMEServer have exactly the same interface. Should I unify them in ...
3 years, 6 months ago (2017-06-21 14:12:58 UTC) #4
Hadi
Unified IMEDriver and IMEServer. PTAL.
3 years, 6 months ago (2017-06-21 14:40:00 UTC) #8
sky
LGTM https://codereview.chromium.org/2945283002/diff/20001/services/ui/ime/ime_registrar_impl.cc File services/ui/ime/ime_registrar_impl.cc (right): https://codereview.chromium.org/2945283002/diff/20001/services/ui/ime/ime_registrar_impl.cc#newcode22 services/ui/ime/ime_registrar_impl.cc:22: ime_driver_bridge_->OnDriverChanged(std::move(driver)); Can you rename OnDriverChanged to SetDriver as ...
3 years, 6 months ago (2017-06-21 19:29:42 UTC) #15
Hadi
palmer@ please review ime.mojom. Thanks.
3 years, 6 months ago (2017-06-21 19:56:06 UTC) #19
palmer
RS LGTM
3 years, 6 months ago (2017-06-21 20:19:44 UTC) #21
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/2945283002/40001
3 years, 6 months ago (2017-06-21 20:30:38 UTC) #25
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 21:41:05 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3ab7311328652527bb7d8b1b5e64...

Powered by Google App Engine
This is Rietveld 408576698