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

Issue 1897913002: Input method functions for chrome.languageSettingsPrivate and chrome.inputMethodPrivate (Closed)

Created:
4 years, 8 months ago by michaelpg
Modified:
4 years, 8 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support adding and removing input methods. This will be used in chrome://md-settings in a follow-up CL. Tests to be added in a follow-up CL. BUG=479043 Committed: https://crrev.com/5a2d5770c697fc7738d25006d4a328fcb6b59900 Cr-Commit-Position: refs/heads/master@{#389389}

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : null check #

Total comments: 4

Patch Set 4 : fix enabled IME checks #

Patch Set 5 : rebase #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+583 lines, -19 lines) Patch
M chrome/browser/chromeos/extensions/input_method_api.h View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/input_method_api.cc View 1 2 3 4 chunks +35 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/language_settings_private/language_settings_private_api.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/language_settings_private/language_settings_private_api.cc View 1 2 3 4 5 6 7 8 8 chunks +195 lines, -18 lines 0 comments Download
M chrome/common/extensions/api/input_method_private.json View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/fake_language_settings_private.js View 2 chunks +22 lines, -1 line 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/closure_compiler/externs/compiled_resources2.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/closure_compiler/externs/input_method_private.js View 1 chunk +125 lines, -0 lines 0 comments Download
M third_party/closure_compiler/interfaces/compiled_resources2.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/closure_compiler/interfaces/input_method_private_interface.js View 1 chunk +164 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (20 generated)
michaelpg
shuchen: PTAL at chrome/browser and chrome/common. This logic will be used for chrome://md-settings. It's similar ...
4 years, 8 months ago (2016-04-18 21:59:40 UTC) #3
Shu Chen
https://codereview.chromium.org/1897913002/diff/20001/chrome/browser/chromeos/extensions/input_method_api.cc File chrome/browser/chromeos/extensions/input_method_api.cc (right): https://codereview.chromium.org/1897913002/diff/20001/chrome/browser/chromeos/extensions/input_method_api.cc#newcode281 chrome/browser/chromeos/extensions/input_method_api.cc:281: ime_state->GetInputMethodFromId(params->input_method_id); A null check for |ime| should be necessary. ...
4 years, 8 months ago (2016-04-19 02:33:57 UTC) #4
michaelpg
https://codereview.chromium.org/1897913002/diff/20001/chrome/browser/chromeos/extensions/input_method_api.cc File chrome/browser/chromeos/extensions/input_method_api.cc (right): https://codereview.chromium.org/1897913002/diff/20001/chrome/browser/chromeos/extensions/input_method_api.cc#newcode281 chrome/browser/chromeos/extensions/input_method_api.cc:281: ime_state->GetInputMethodFromId(params->input_method_id); On 2016/04/19 02:33:57, Shu Chen wrote: > A ...
4 years, 8 months ago (2016-04-20 02:41:09 UTC) #6
Shu Chen
https://codereview.chromium.org/1897913002/diff/20001/chrome/browser/chromeos/extensions/input_method_api.cc File chrome/browser/chromeos/extensions/input_method_api.cc (right): https://codereview.chromium.org/1897913002/diff/20001/chrome/browser/chromeos/extensions/input_method_api.cc#newcode291 chrome/browser/chromeos/extensions/input_method_api.cc:291: browser->OpenURL(url_params); On 2016/04/20 02:41:09, michaelpg wrote: > On 2016/04/19 ...
4 years, 8 months ago (2016-04-20 06:38:33 UTC) #7
michaelpg
PTAL. This CL is getting big-ish and these APIs aren't tested yet, so I would ...
4 years, 8 months ago (2016-04-20 08:09:08 UTC) #9
Shu Chen
lgtm
4 years, 8 months ago (2016-04-21 01:48:06 UTC) #10
michaelpg
+asvitkine: extensions/browser/extension_function_histogram_value.h +dbeam: third_party/closure_compiler/interfaces
4 years, 8 months ago (2016-04-21 02:46:34 UTC) #12
Alexei Svitkine (slow)
https://codereview.chromium.org/1897913002/diff/100001/extensions/browser/extension_function_histogram_value.h File extensions/browser/extension_function_histogram_value.h (right): https://codereview.chromium.org/1897913002/diff/100001/extensions/browser/extension_function_histogram_value.h#newcode1179 extensions/browser/extension_function_histogram_value.h:1179: INPUTMETHODPRIVATE_OPENOPTIONSPAGE, Please follow the instructions on the comment below.
4 years, 8 months ago (2016-04-21 15:05:53 UTC) #13
Dan Beam
lgtm
4 years, 8 months ago (2016-04-21 16:38:28 UTC) #14
michaelpg
https://codereview.chromium.org/1897913002/diff/100001/extensions/browser/extension_function_histogram_value.h File extensions/browser/extension_function_histogram_value.h (right): https://codereview.chromium.org/1897913002/diff/100001/extensions/browser/extension_function_histogram_value.h#newcode1179 extensions/browser/extension_function_histogram_value.h:1179: INPUTMETHODPRIVATE_OPENOPTIONSPAGE, On 2016/04/21 15:05:53, Alexei Svitkine wrote: > Please ...
4 years, 8 months ago (2016-04-21 17:54:29 UTC) #15
Alexei Svitkine (slow)
lgtm
4 years, 8 months ago (2016-04-21 18:04:13 UTC) #16
commit-bot: I haz the power
This CL has an open dependency (Issue 1902893003 Patch 80001). Please resolve the dependency and ...
4 years, 8 months ago (2016-04-21 18:12:43 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897913002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897913002/160001
4 years, 8 months ago (2016-04-23 00:34:41 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/24064) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-23 00:38:25 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897913002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897913002/180001
4 years, 8 months ago (2016-04-23 08:28:32 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/126842)
4 years, 8 months ago (2016-04-23 08:50:50 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897913002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897913002/200001
4 years, 8 months ago (2016-04-23 21:29:04 UTC) #35
commit-bot: I haz the power
Committed patchset #9 (id:200001)
4 years, 8 months ago (2016-04-23 22:37:52 UTC) #37
commit-bot: I haz the power
4 years, 8 months ago (2016-04-23 22:39:38 UTC) #39
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5a2d5770c697fc7738d25006d4a328fcb6b59900
Cr-Commit-Position: refs/heads/master@{#389389}

Powered by Google App Engine
This is Rietveld 408576698