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

Issue 2298123003: Using input language instead of the application locale to determine the Omnibox's text input type o… (Closed)

Created:
4 years, 3 months ago by Shu Chen
Modified:
4 years, 3 months ago
Reviewers:
yukawa, sky
CC:
chromium-reviews, tfarina, James Su, shuchen+watch_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Using input language instead of the application locale to determine the Omnibox's text input type on Windows. This cl contains a small refactoring of: 1) Changes GetInputLocale() to IsInputLocaleCJK(), so that the function would less likely to be abused. 2) Makes InputMethodBase to have empty implementations for OnInputLocaleChanged/IsInputLocaleCJK. BUG=344834 Committed: https://crrev.com/f958e39a06d64450f0c2220bd44ac31ccbd289a6 Cr-Commit-Position: refs/heads/master@{#417189}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : .. #

Patch Set 4 : ... #

Patch Set 5 : .... #

Patch Set 6 : ..... #

Total comments: 8

Patch Set 7 : addressed comments. #

Patch Set 8 : fix compiling errors in mus. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -136 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_view_views.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 3 chunks +21 lines, -25 lines 0 comments Download
M ui/base/ime/dummy_input_method.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/base/ime/dummy_input_method.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/ime/input_method.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/base/ime/input_method_android.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/base/ime/input_method_android.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M ui/base/ime/input_method_auralinux.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/base/ime/input_method_auralinux.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M ui/base/ime/input_method_base.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/ime/input_method_base.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/base/ime/input_method_base_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/base/ime/input_method_chromeos.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/base/ime/input_method_chromeos.cc View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M ui/base/ime/input_method_chromeos_unittest.cc View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M ui/base/ime/input_method_mac.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/base/ime/input_method_mac.mm View 1 chunk +0 lines, -7 lines 0 comments Download
M ui/base/ime/input_method_minimal.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/base/ime/input_method_minimal.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M ui/base/ime/input_method_win.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/ime/input_method_win.cc View 1 2 3 4 5 6 1 chunk +9 lines, -3 lines 0 comments Download
M ui/base/ime/mock_input_method.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/ime/mock_input_method.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/ime/win/imm32_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/ime/win/imm32_manager.cc View 1 2 3 4 5 6 2 chunks +17 lines, -32 lines 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download
M ui/views/mus/input_method_mus.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/mus/input_method_mus.cc View 1 2 3 4 5 6 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 43 (33 generated)
Shu Chen
yukawa@/sky@, can you please review this cl? Thanks! yukawa@: the changes of InputMethodWin/IMM32Manager. sky@: stamp ...
4 years, 3 months ago (2016-09-01 05:53:33 UTC) #21
sky
LGTM https://codereview.chromium.org/2298123003/diff/100001/ui/views/mus/input_method_mus.cc File ui/views/mus/input_method_mus.cc (left): https://codereview.chromium.org/2298123003/diff/100001/ui/views/mus/input_method_mus.cc#oldcode100 ui/views/mus/input_method_mus.cc:100: void InputMethodMus::OnInputLocaleChanged() { Leave this one here because ...
4 years, 3 months ago (2016-09-01 18:23:43 UTC) #28
yukawa
https://codereview.chromium.org/2298123003/diff/100001/ui/base/ime/input_method_win.cc File ui/base/ime/input_method_win.cc (right): https://codereview.chromium.org/2298123003/diff/100001/ui/base/ime/input_method_win.cc#newcode269 ui/base/ime/input_method_win.cc:269: void InputMethodWin::OnInputLocaleChanged() { We probably may want to add ...
4 years, 3 months ago (2016-09-01 20:15:03 UTC) #29
Shu Chen
https://codereview.chromium.org/2298123003/diff/100001/ui/base/ime/input_method_win.cc File ui/base/ime/input_method_win.cc (right): https://codereview.chromium.org/2298123003/diff/100001/ui/base/ime/input_method_win.cc#newcode269 ui/base/ime/input_method_win.cc:269: void InputMethodWin::OnInputLocaleChanged() { On 2016/09/01 20:15:03, yukawa wrote: > ...
4 years, 3 months ago (2016-09-07 03:13:34 UTC) #30
yukawa
lgtm
4 years, 3 months ago (2016-09-07 18:55:24 UTC) #31
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/2298123003/120001
4 years, 3 months ago (2016-09-08 01:34:48 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/231979) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 3 months ago (2016-09-08 01:47:57 UTC) #36
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/2298123003/140001
4 years, 3 months ago (2016-09-08 02:33:34 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-08 04:24:30 UTC) #41
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 04:26:09 UTC) #43
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f958e39a06d64450f0c2220bd44ac31ccbd289a6
Cr-Commit-Position: refs/heads/master@{#417189}

Powered by Google App Engine
This is Rietveld 408576698