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

Unified Diff: ui/views/controls/textfield/textfield_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/keyboard/keyboard_ui.cc ('k') | ui/wm/core/ime_util_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield_unittest.cc
diff --git a/ui/views/controls/textfield/textfield_unittest.cc b/ui/views/controls/textfield/textfield_unittest.cc
index c9e9d1c494e2e0394448b0495965591384c70863..998dad06cfd6499d0e5f5ad40a70fb2cf73912cd 100644
--- a/ui/views/controls/textfield/textfield_unittest.cc
+++ b/ui/views/controls/textfield/textfield_unittest.cc
@@ -2964,12 +2964,6 @@ TEST_F(TextfieldTest, CursorBlinkRestartsOnInsertOrReplace) {
TEST_F(TextfieldTest, VirtualKeyboardFocusEnsureCaretNotInRect) {
InitTextfield();
- // Enable new virtual keyboard behavior.
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- if (!command_line->HasSwitch(::switches::kUseNewVirtualKeyboardBehavior)) {
- command_line->AppendSwitch(::switches::kUseNewVirtualKeyboardBehavior);
- }
-
aura::Window* root_window = widget_->GetNativeView()->GetRootWindow();
int keyboard_height = 200;
gfx::Rect root_bounds = root_window->bounds();
« no previous file with comments | « ui/keyboard/keyboard_ui.cc ('k') | ui/wm/core/ime_util_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698