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

Issue 18856014: We should switch the keyboard layout to the layout the user set according to (Closed)

Created:
7 years, 5 months ago by Alexander Alekseev
Modified:
7 years, 5 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

We should switch the keyboard layout to the layout the user set according to which user POD is selected. BUG=152843 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213144

Patch Set 1 #

Patch Set 2 : Remove blank line. #

Patch Set 3 : Add check for only "Full latin keyboard language" input method can be used at login screen. #

Patch Set 4 : Fix MockInputMethodManager build. #

Total comments: 72

Patch Set 5 : Style fixed. Added IsKeyboardLayout() check. #

Patch Set 6 : Added support for "xkb:jp::jpn" and similar. Moved all checking to new header/source. #

Patch Set 7 : Fix clang build. #

Patch Set 8 : Fix clang build. #

Total comments: 15

Patch Set 9 : Moved static SetUserInputMethodImpl() to unnamed namespace. Formatted comments. #

Patch Set 10 : Diff versus master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -24 lines) Patch
M chrome/browser/chromeos/input_method/input_method_manager_impl.h View 1 2 3 4 5 6 chunks +20 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 2 3 4 5 6 7 8 7 chunks +57 lines, -21 lines 0 comments Download
A chrome/browser/chromeos/input_method/input_method_manager_impl_ll.h View 1 2 3 4 5 6 7 8 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/input_method/input_method_manager_impl_ll.cc View 1 2 3 4 5 6 1 chunk +124 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_persistence.cc View 1 2 3 4 5 6 7 8 4 chunks +61 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/input_method/mock_input_method_manager.h View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/input_method/mock_input_method_manager.cc View 1 2 3 4 5 4 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 6 7 8 9 chunks +101 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/ime/input_method_manager.h View 1 2 3 4 5 3 chunks +13 lines, -0 lines 0 comments Download
M chromeos/ime/input_methods.txt View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Alexander Alekseev
7 years, 5 months ago (2013-07-09 13:06:23 UTC) #1
Nikita (slow)
You'll need someone from https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/chromeos/input_method/OWNERS&sq=package:chromium&type=cs https://code.google.com/p/chromium/codesearch#chromium/src/chromeos/ime/OWNERS&sq=package:chromium&type=cs https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/prefs/OWNERS&sq=package:chromium&type=cs
7 years, 5 months ago (2013-07-09 13:21:57 UTC) #2
Nikita (slow)
Where latin-based keyboard layout's are filtered? CL summary should mention that.
7 years, 5 months ago (2013-07-09 13:24:31 UTC) #3
Alexander Alekseev
Added check for "Full Latin Keyboard language". I created table of such languages manually googling, ...
7 years, 5 months ago (2013-07-10 16:21:58 UTC) #4
Nikita (slow)
Please fix unit_test: [ RUN ] InputMethodPersistenceTest.TestPrefPersistenceByState [29587:29587:0711/013832:2507777282366:FATAL:input_method_persistence.cc(44)] Check failed: manager. [29587:29587:0711/013832:2507777282366:FATAL:input_method_persistence.cc(44)] Check failed: manager. ...
7 years, 5 months ago (2013-07-11 08:54:55 UTC) #5
Nikita (slow)
Please review: nona@ for chrome/browser/chromeos/input_method/* chromeos/ime/* mnissler@ for chrome/browser/prefs.* I'll review chrome/browser/ui/webui/chromeos/login/*
7 years, 5 months ago (2013-07-11 08:59:56 UTC) #6
Nikita (slow)
https://codereview.chromium.org/18856014/diff/29001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc (right): https://codereview.chromium.org/18856014/diff/29001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc#newcode985 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc:985: #if defined(OS_CHROMEOS) No need for OS_CHROMEOS here as this ...
7 years, 5 months ago (2013-07-11 09:13:53 UTC) #7
Seigo Nonaka
https://codereview.chromium.org/18856014/diff/29001/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/18856014/diff/29001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode125 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:125: const char* kFullLatinKeyboardLanguageList[] = { Please notice that there ...
7 years, 5 months ago (2013-07-11 09:43:55 UTC) #8
Mattias Nissler (ping if slow)
LGTM once you get coding style sorted (other reviewers cover that) and fix pref name ...
7 years, 5 months ago (2013-07-11 10:05:48 UTC) #9
Alexander Alekseev
- Added checking against IsKeyboardLayout(). - Added support for languages with some Full Latin Keyboard ...
7 years, 5 months ago (2013-07-12 20:10:48 UTC) #10
Nikita (slow)
https://codereview.chromium.org/18856014/diff/67001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc (right): https://codereview.chromium.org/18856014/diff/67001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc#newcode110 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc:110: static bool Contains(const std::vector<std::string>& container, nit: no need to ...
7 years, 5 months ago (2013-07-15 12:56:37 UTC) #11
Alexander Alekseev
Mattias Nissler, Seigo Nonaka I've updated code. Please review again. Thank you. On 2013/07/11 09:43:55, ...
7 years, 5 months ago (2013-07-17 16:11:51 UTC) #12
Seigo Nonaka
lgtm but please wait Nikita's review :) https://codereview.chromium.org/18856014/diff/67001/chrome/browser/chromeos/input_method/input_method_persistence.cc File chrome/browser/chromeos/input_method/input_method_persistence.cc (right): https://codereview.chromium.org/18856014/diff/67001/chrome/browser/chromeos/input_method/input_method_persistence.cc#newcode79 chrome/browser/chromeos/input_method/input_method_persistence.cc:79: << prefs::kUsersLRUInputMethod ...
7 years, 5 months ago (2013-07-22 13:17:34 UTC) #13
Seigo Nonaka
https://codereview.chromium.org/18856014/diff/67001/chromeos/ime/input_methods.txt File chromeos/ime/input_methods.txt (right): https://codereview.chromium.org/18856014/diff/67001/chromeos/ime/input_methods.txt#newcode64 chromeos/ime/input_methods.txt:64: # chrome/browser/chromeos/input_method/input_method_manager_impl_ll.cc On 2013/07/22 13:17:34, Seigo Nonaka wrote: > ...
7 years, 5 months ago (2013-07-22 14:14:40 UTC) #14
Alexander Alekseev
I cleaned code, probably style is correct now. Please review. https://codereview.chromium.org/18856014/diff/67001/chrome/browser/chromeos/input_method/input_method_persistence.cc File chrome/browser/chromeos/input_method/input_method_persistence.cc (right): https://codereview.chromium.org/18856014/diff/67001/chrome/browser/chromeos/input_method/input_method_persistence.cc#newcode79 ...
7 years, 5 months ago (2013-07-22 14:24:20 UTC) #15
Nikita (slow)
lgtm I've executed few trybots. Once they are green please check commit queue checkbox. Context: ...
7 years, 5 months ago (2013-07-22 18:50:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/18856014/98001
7 years, 5 months ago (2013-07-23 12:46:08 UTC) #17
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=151867
7 years, 5 months ago (2013-07-23 14:12:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/18856014/98001
7 years, 5 months ago (2013-07-23 14:42:46 UTC) #19
commit-bot: I haz the power
7 years, 5 months ago (2013-07-23 17:11:28 UTC) #20
Message was sent while issue was closed.
Change committed as 213144

Powered by Google App Engine
This is Rietveld 408576698