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

Side by Side Diff: chrome/browser/chromeos/login/oobe_localization_browsertest.cc

Issue 1113683003: (Reland) Add programmer dvorak keyboard layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update other broken tests Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/prefs/pref_service.h" 6 #include "base/prefs/pref_service.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/task_runner.h" 8 #include "base/task_runner.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // keyboard. 86 // keyboard.
87 {"ja", "xkb:jp::jpn", "ja", "xkb:jp::jpn", "xkb:jp::jpn,[xkb:us::eng]"}, 87 {"ja", "xkb:jp::jpn", "ja", "xkb:jp::jpn", "xkb:jp::jpn,[xkb:us::eng]"},
88 88
89 // We don't use the Icelandic locale but the Icelandic keyboard layout 89 // We don't use the Icelandic locale but the Icelandic keyboard layout
90 // should still be selected when specified as the default. 90 // should still be selected when specified as the default.
91 {"en-US", 91 {"en-US",
92 "xkb:is::ice", 92 "xkb:is::ice",
93 "en-US", 93 "en-US",
94 "xkb:is::ice", 94 "xkb:is::ice",
95 "xkb:is::ice,[xkb:us::eng,xkb:us:intl:eng,xkb:us:altgr-intl:eng," 95 "xkb:is::ice,[xkb:us::eng,xkb:us:intl:eng,xkb:us:altgr-intl:eng,"
96 "xkb:us:dvorak:eng,xkb:us:colemak:eng]"}, 96 "xkb:us:dvorak:eng,xkb:us:dvp:eng,xkb:us:colemak:eng]"},
97 // ------------------ Full Latin setup 97 // ------------------ Full Latin setup
98 // French Swiss keyboard. 98 // French Swiss keyboard.
99 {"fr", 99 {"fr",
100 "xkb:ch:fr:fra", 100 "xkb:ch:fr:fra",
101 "fr", 101 "fr",
102 "xkb:ch:fr:fra", 102 "xkb:ch:fr:fra",
103 "xkb:ch:fr:fra,[xkb:fr::fra,xkb:be::fra,xkb:ca::fra," 103 "xkb:ch:fr:fra,[xkb:fr::fra,xkb:be::fra,xkb:ca::fra,"
104 "xkb:ca:multix:fra,xkb:us::eng]"}, 104 "xkb:ca:multix:fra,xkb:us::eng]"},
105 105
106 // German Swiss keyboard. 106 // German Swiss keyboard.
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 RunLocalizationTest(); 382 RunLocalizationTest();
383 } 383 }
384 384
385 INSTANTIATE_TEST_CASE_P( 385 INSTANTIATE_TEST_CASE_P(
386 StructSequence, 386 StructSequence,
387 OobeLocalizationTest, 387 OobeLocalizationTest,
388 testing::Range(&oobe_localization_test_parameters[0], 388 testing::Range(&oobe_localization_test_parameters[0],
389 &oobe_localization_test_parameters[arraysize( 389 &oobe_localization_test_parameters[arraysize(
390 oobe_localization_test_parameters)])); 390 oobe_localization_test_parameters)]));
391 } // namespace chromeos 391 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698