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

Issue 2197113002: Force U.S. English keyboard layout for TextfieldTest.KeysWithModifiersTest (Closed)

Created:
4 years, 4 months ago by Tomasz Moniuszko
Modified:
4 years, 3 months ago
CC:
chromium-reviews, tfarina, James Su, shuchen+watch_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org, chongz
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Force U.S. English keyboard layout for TextfieldTest.KeysWithModifiersTest BUG=633136 Committed: https://crrev.com/19cb1e03c46a4df0c0fd54171369152bcb19c237 Cr-Commit-Position: refs/heads/master@{#419454}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Share keyboard layout selection code between tests #

Total comments: 10

Patch Set 3 : Fix review issues #

Total comments: 12

Patch Set 4 : Make ScopedKeyboardLayout compile for other platforms #

Total comments: 1

Patch Set 5 : More review fixes, delete obsolete files #

Total comments: 2

Patch Set 6 : Fix TODO comment #

Total comments: 1

Patch Set 7 : Fix minor review issues #

Patch Set 8 : Fix build issues on Mac, iOS and Linux #

Total comments: 19

Patch Set 9 : Fix ui/events review issues #

Total comments: 2

Patch Set 10 : Change MacOSX/iOS preprocessor check as suggested in the review #

Patch Set 11 : More Mac and iOS build fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -182 lines) Patch
M chrome/test/chromedriver/BUILD.gn View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M chrome/test/chromedriver/key_converter_unittest.cc View 1 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/keycode_text_conversion_unittest.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -22 lines 0 comments Download
D chrome/test/chromedriver/test_util.h View 1 2 3 4 1 chunk +0 lines, -52 lines 0 comments Download
D chrome/test/chromedriver/test_util.cc View 1 2 3 4 1 chunk +0 lines, -59 lines 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -0 lines 0 comments Download
M ui/events/keycodes/platform_key_map_win_unittest.cc View 1 7 chunks +11 lines, -43 lines 0 comments Download
A ui/events/test/keyboard_layout.h View 1 2 3 4 5 6 7 1 chunk +58 lines, -0 lines 0 comments Download
A ui/events/test/keyboard_layout.cc View 1 2 3 4 5 6 7 8 9 1 chunk +36 lines, -0 lines 0 comments Download
A ui/events/test/keyboard_layout_mac.cc View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
A ui/events/test/keyboard_layout_win.cc View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 1 2 3 4 5 6 7 2 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 54 (16 generated)
Tomasz Moniuszko
4 years, 4 months ago (2016-08-01 09:31:36 UTC) #2
Peter Kasting
https://codereview.chromium.org/2197113002/diff/1/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/1/ui/views/controls/textfield/textfield_unittest.cc#newcode775 ui/views/controls/textfield/textfield_unittest.cc:775: ::LoadKeyboardLayout(L"00000409", KLF_ACTIVATE); Don't you need to call ActivateKeyboardLayout() as ...
4 years, 4 months ago (2016-08-03 00:13:26 UTC) #3
Tomasz Moniuszko
https://codereview.chromium.org/2197113002/diff/1/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/1/ui/views/controls/textfield/textfield_unittest.cc#newcode775 ui/views/controls/textfield/textfield_unittest.cc:775: ::LoadKeyboardLayout(L"00000409", KLF_ACTIVATE); On 2016/08/03 00:13:26, Peter Kasting wrote: > ...
4 years, 4 months ago (2016-08-18 15:18:10 UTC) #4
Peter Kasting
https://codereview.chromium.org/2197113002/diff/20001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/20001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode155 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:155: ui::ScopedKeyboardLayout russian_layout(ui::KEYBOARD_LAYOUT_RUSSIAN); Nit: While it will make no functional ...
4 years, 4 months ago (2016-08-18 17:48:19 UTC) #5
Tomasz Moniuszko
https://codereview.chromium.org/2197113002/diff/20001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/20001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode155 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:155: ui::ScopedKeyboardLayout russian_layout(ui::KEYBOARD_LAYOUT_RUSSIAN); On 2016/08/18 17:48:19, Peter Kasting wrote: > ...
4 years, 3 months ago (2016-08-26 08:53:12 UTC) #6
Peter Kasting
https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode162 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:162: } In principle, is there a reason why these ...
4 years, 3 months ago (2016-08-26 18:54:33 UTC) #7
Tomasz Moniuszko
https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode162 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:162: } On 2016/08/26 18:54:33, Peter Kasting wrote: > In ...
4 years, 3 months ago (2016-08-31 15:29:42 UTC) #8
Peter Kasting
https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode162 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:162: } On 2016/08/31 15:29:42, Tomasz Moniuszko wrote: > On ...
4 years, 3 months ago (2016-08-31 21:16:15 UTC) #9
Tomasz Moniuszko
On 2016/08/31 21:16:15, Peter Kasting wrote: > That sounds like those tests should be enabled ...
4 years, 3 months ago (2016-09-01 14:21:16 UTC) #10
Peter Kasting
(Note: Please try to continue replying on the codereview comments as it makes it easier ...
4 years, 3 months ago (2016-09-01 20:16:29 UTC) #11
Tomasz Moniuszko
On 2016/09/01 20:16:29, Peter Kasting wrote: > (Note: Please try to continue replying on the ...
4 years, 3 months ago (2016-09-02 09:30:19 UTC) #12
Peter Kasting
Calling this out as a separate email since I'm repeating myself: if at all possible, ...
4 years, 3 months ago (2016-09-02 19:36:53 UTC) #13
Peter Kasting
On 2016/09/02 09:30:19, Tomasz Moniuszko wrote: > On 2016/09/01 20:16:29, Peter Kasting wrote: > > ...
4 years, 3 months ago (2016-09-02 19:44:27 UTC) #14
chongz
https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode162 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:162: } On 2016/08/31 21:16:15, Peter Kasting wrote: > On ...
4 years, 3 months ago (2016-09-03 00:44:17 UTC) #16
Peter Kasting
On 2016/09/03 00:44:17, chongz wrote: > https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc > File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): > > https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode162 > ...
4 years, 3 months ago (2016-09-03 03:02:08 UTC) #17
Tomasz Moniuszko
On 2016/09/02 19:36:53, Peter Kasting wrote: > Calling this out as a separate email since ...
4 years, 3 months ago (2016-09-07 11:18:26 UTC) #18
Tomasz Moniuszko
https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/40001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode162 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:162: } On 2016/09/03 00:44:17, chongz wrote: > On 2016/08/31 ...
4 years, 3 months ago (2016-09-07 11:19:01 UTC) #19
Peter Kasting
LGTM https://codereview.chromium.org/2197113002/diff/100001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc File chrome/test/chromedriver/keycode_text_conversion_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/100001/chrome/test/chromedriver/keycode_text_conversion_unittest.cc#newcode162 chrome/test/chromedriver/keycode_text_conversion_unittest.cc:162: #if defined(OS_MACOSX) OK, since this test is disabled ...
4 years, 3 months ago (2016-09-08 05:16:02 UTC) #20
Tomasz Moniuszko
https://codereview.chromium.org/2197113002/diff/80001/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/80001/ui/views/controls/textfield/textfield_unittest.cc#newcode774 ui/views/controls/textfield/textfield_unittest.cc:774: // U.S. English layout cannot be forced). On 2016/09/01 ...
4 years, 3 months ago (2016-09-08 14:44:41 UTC) #21
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/2197113002/120001
4 years, 3 months ago (2016-09-08 14:53:48 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/65826) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-08 14:59:44 UTC) #26
Tomasz Moniuszko
sadrul@, frankf@: It seems //chrome/test/chromedriver/* and //ui/events/* still need a review from file owners. Could ...
4 years, 3 months ago (2016-09-13 08:08:04 UTC) #29
sadrul
+wez@ as key event owner https://codereview.chromium.org/2197113002/diff/140001/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/140001/ui/views/controls/textfield/textfield_unittest.cc#newcode771 ui/views/controls/textfield/textfield_unittest.cc:771: TEST_F(TextfieldTest, MAYBE_KeysWithModifiersTest) { This ...
4 years, 3 months ago (2016-09-13 15:16:32 UTC) #31
Peter Kasting
https://codereview.chromium.org/2197113002/diff/140001/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/2197113002/diff/140001/ui/views/controls/textfield/textfield_unittest.cc#newcode771 ui/views/controls/textfield/textfield_unittest.cc:771: TEST_F(TextfieldTest, MAYBE_KeysWithModifiersTest) { On 2016/09/13 15:16:32, sadrul wrote: > ...
4 years, 3 months ago (2016-09-13 19:16:30 UTC) #32
Wez
https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout.h File ui/events/test/keyboard_layout.h (right): https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout.h#newcode13 ui/events/test/keyboard_layout.h:13: #elif defined(OS_MACOSX) && !defined(OS_IOS) It's strange to have this ...
4 years, 3 months ago (2016-09-13 20:03:16 UTC) #33
Tomasz Moniuszko
https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout.h File ui/events/test/keyboard_layout.h (right): https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout.h#newcode13 ui/events/test/keyboard_layout.h:13: #elif defined(OS_MACOSX) && !defined(OS_IOS) On 2016/09/13 20:03:16, Wez wrote: ...
4 years, 3 months ago (2016-09-14 13:56:07 UTC) #34
Wez
lgtm https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout_mac.cc File ui/events/test/keyboard_layout_mac.cc (right): https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout_mac.cc#newcode17 ui/events/test/keyboard_layout_mac.cc:17: base::ScopedCFTypeRef<CFMutableDictionaryRef> filter_dict( On 2016/09/14 13:56:06, Tomasz Moniuszko wrote: ...
4 years, 3 months ago (2016-09-16 00:57:18 UTC) #35
Tomasz Moniuszko
https://codereview.chromium.org/2197113002/diff/160001/ui/events/test/keyboard_layout.cc File ui/events/test/keyboard_layout.cc (right): https://codereview.chromium.org/2197113002/diff/160001/ui/events/test/keyboard_layout.cc#newcode20 ui/events/test/keyboard_layout.cc:20: #if !defined(OS_WIN) && (!defined(OS_MACOSX) || defined(OS_IOS)) On 2016/09/16 00:57:18, ...
4 years, 3 months ago (2016-09-16 13:22:14 UTC) #36
Tomasz Moniuszko
On 2016/09/16 00:57:18, Wez wrote: > https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout_win.cc > File ui/events/test/keyboard_layout_win.cc (right): > > https://codereview.chromium.org/2197113002/diff/140001/ui/events/test/keyboard_layout_win.cc#newcode31 > ...
4 years, 3 months ago (2016-09-16 13:24:16 UTC) #37
Tomasz Moniuszko
samuong@, there's no reply from frankf@. Could you maybe take a look at files in ...
4 years, 3 months ago (2016-09-16 13:31:16 UTC) #39
samuong
lgtm, thanks for doing this frank doesn't work on chrome anymore
4 years, 3 months ago (2016-09-16 18:47:28 UTC) #40
sadrul
lgtm
4 years, 3 months ago (2016-09-16 18:54:07 UTC) #41
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/2197113002/180001
4 years, 3 months ago (2016-09-19 09:27:49 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/270610)
4 years, 3 months ago (2016-09-19 09:35:11 UTC) #46
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/2197113002/200001
4 years, 3 months ago (2016-09-19 13:54:52 UTC) #49
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-09-19 14:48:00 UTC) #51
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/19cb1e03c46a4df0c0fd54171369152bcb19c237 Cr-Commit-Position: refs/heads/master@{#419454}
4 years, 3 months ago (2016-09-19 14:49:20 UTC) #53
iclelland
4 years, 3 months ago (2016-09-19 16:33:50 UTC) #54
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:200001) has been created in
https://codereview.chromium.org/2349253002/ by iclelland@chromium.org.

The reason for reverting is: Tests are failing on Mac ASAN builder. See details
here:
https://uberchromegw.corp.google.com/i/chromium.memory/builders/Mac%20ASan%20...

First failed build:
https://uberchromegw.corp.google.com/i/chromium.memory/builders/Mac%20ASan%20....

Powered by Google App Engine
This is Rietveld 408576698