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

Issue 1136463005: Supports multiple profile in Chrome OS IMF. (Closed)

Created:
5 years, 7 months ago by Shu Chen
Modified:
5 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Supports multiple profile in Chrome OS IMF. And avoid dispatching onActivate & onDeactivated events to IME extensions if the profile is not the active profile. BUG=485835 TEST=Verified on linux_chromeos & clapper device. Committed: https://crrev.com/28326ecf067e03b53880186b6b861ddcd2f05a3e Cr-Commit-Position: refs/heads/master@{#329808}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixed test compiling error. #

Patch Set 3 : #

Patch Set 4 : fixed test failures. #

Total comments: 5

Patch Set 5 : rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -128 lines) Patch
M chrome/browser/chromeos/input_method/input_method_engine.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_engine.cc View 1 2 3 4 11 chunks +31 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_engine_unittest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/input_ime/input_ime_api.h View 2 chunks +18 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/input_ime/input_ime_api.cc View 1 2 3 33 chunks +123 lines, -112 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Shu Chen
Nona/Alexander, can you please help to review this cl? Thanks
5 years, 7 months ago (2015-05-08 07:55:26 UTC) #2
Shu Chen
https://codereview.chromium.org/1136463005/diff/1/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): https://codereview.chromium.org/1136463005/diff/1/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode1012 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:1012: engine = engine_map_[ProfileManager::GetActiveUserProfile()][extension_id]; After cl https://codereview.chromium.org/1055863002/ is landed, here ...
5 years, 7 months ago (2015-05-08 07:56:48 UTC) #3
Shu Chen
https://codereview.chromium.org/1136463005/diff/60001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): https://codereview.chromium.org/1136463005/diff/60001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode1012 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:1012: engine = engine_map_[ProfileManager::GetActiveUserProfile()][extension_id]; After cl https://codereview.chromium.org/1055863002/ is landed, here ...
5 years, 7 months ago (2015-05-09 08:31:11 UTC) #4
Alexander Alekseev
Thank you very much for the fix! lgtm with a side note. https://codereview.chromium.org/1136463005/diff/60001/chrome/browser/chromeos/input_method/input_method_engine.cc File chrome/browser/chromeos/input_method/input_method_engine.cc ...
5 years, 7 months ago (2015-05-13 17:50:39 UTC) #5
Shu Chen
https://codereview.chromium.org/1136463005/diff/60001/chrome/browser/chromeos/input_method/input_method_engine.cc File chrome/browser/chromeos/input_method/input_method_engine.cc (right): https://codereview.chromium.org/1136463005/diff/60001/chrome/browser/chromeos/input_method/input_method_engine.cc#newcode508 chrome/browser/chromeos/input_method/input_method_engine.cc:508: if (!CheckProfile()) On 2015/05/13 17:50:38, Alexander Alekseev wrote: > ...
5 years, 7 months ago (2015-05-14 04:53:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1136463005/80001
5 years, 7 months ago (2015-05-14 05:01:19 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-14 05:38:23 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 05:39:18 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/28326ecf067e03b53880186b6b861ddcd2f05a3e
Cr-Commit-Position: refs/heads/master@{#329808}

Powered by Google App Engine
This is Rietveld 408576698