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

Unified Diff: ui/wm/core/ime_util_chromeos.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/views/controls/textfield/textfield_unittest.cc ('k') | ui/wm/core/ime_util_chromeos_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/ime_util_chromeos.cc
diff --git a/ui/wm/core/ime_util_chromeos.cc b/ui/wm/core/ime_util_chromeos.cc
index 4e57d2d4c5fbd1c1fe41602dfd9d9f6f4aa87ead..719ac5ea9bab842fef2de5862ac0c0196afb733d 100644
--- a/ui/wm/core/ime_util_chromeos.cc
+++ b/ui/wm/core/ime_util_chromeos.cc
@@ -51,8 +51,8 @@ DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(gfx::Rect,
nullptr);
void RestoreWindowBoundsOnClientFocusLost(aura::Window* window) {
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kUseNewVirtualKeyboardBehavior))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ ::switches::kDisableNewVirtualKeyboardBehavior))
return;
// Get restore bounds of the window
@@ -75,8 +75,8 @@ void RestoreWindowBoundsOnClientFocusLost(aura::Window* window) {
void EnsureWindowNotInRect(aura::Window* window,
const gfx::Rect& rect_in_screen) {
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kUseNewVirtualKeyboardBehavior))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ ::switches::kDisableNewVirtualKeyboardBehavior))
return;
gfx::Rect original_window_bounds = window->GetBoundsInScreen();
« no previous file with comments | « ui/views/controls/textfield/textfield_unittest.cc ('k') | ui/wm/core/ime_util_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698