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

Unified Diff: ash/virtual_keyboard_controller.cc

Issue 2869773003: Remove unused flag 'kDisableSmartVirtualKeyboard' and associated code. (Closed)
Patch Set: Fix accidental merge in the wrong direction 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 | « no previous file | ash/virtual_keyboard_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/virtual_keyboard_controller.cc
diff --git a/ash/virtual_keyboard_controller.cc b/ash/virtual_keyboard_controller.cc
index 8899e1baa1d8ecd0755b35c3ceedefff573816bc..d36e8e2cbd608d931c04069dba42d8d783c11bd6 100644
--- a/ash/virtual_keyboard_controller.cc
+++ b/ash/virtual_keyboard_controller.cc
@@ -29,11 +29,8 @@ namespace {
// Checks whether smart deployment is enabled.
bool IsSmartVirtualKeyboardEnabled() {
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- keyboard::switches::kEnableVirtualKeyboard)) {
- return false;
- }
- return keyboard::IsSmartDeployEnabled();
+ return !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ keyboard::switches::kEnableVirtualKeyboard);
}
void MoveKeyboardToDisplayInternal(const int64_t display_id) {
« no previous file with comments | « no previous file | ash/virtual_keyboard_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698