|
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}
Total comments: 8
|
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
|
Total messages: 43 (33 generated)
|