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

Unified Diff: ui/keyboard/keyboard_controller_unittest.cc

Issue 2871243003: Enable new-virtual-keyboard-behavior flag by default. (Closed)
Patch Set: keep sorted the declarations Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ui_base_switches.cc ('k') | ui/keyboard/keyboard_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller_unittest.cc
diff --git a/ui/keyboard/keyboard_controller_unittest.cc b/ui/keyboard/keyboard_controller_unittest.cc
index 97775b624cdeafa9667bb797dd7357b7263a3554..a5a02c8a59807f1422cc872a049db3b0102e9281 100644
--- a/ui/keyboard/keyboard_controller_unittest.cc
+++ b/ui/keyboard/keyboard_controller_unittest.cc
@@ -241,9 +241,10 @@ class KeyboardControllerTest : public testing::TestWithParam<bool>,
controller_.reset(new KeyboardController(ui_, layout_delegate_.get()));
controller()->AddObserver(this);
- if (GetParam()) {
+ if (!GetParam()) {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- command_line->AppendSwitch(::switches::kUseNewVirtualKeyboardBehavior);
+ command_line->AppendSwitch(
+ ::switches::kDisableNewVirtualKeyboardBehavior);
}
}
« no previous file with comments | « ui/base/ui_base_switches.cc ('k') | ui/keyboard/keyboard_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698