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

Unified Diff: ui/keyboard/keyboard_util.cc

Issue 253303003: Revert of Enable VK overscroll by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_util.cc
diff --git a/ui/keyboard/keyboard_util.cc b/ui/keyboard/keyboard_util.cc
index f5109e244f1f30ee9eb504abec11862fa6c9ea92..3425740a117a2109e5422d895e6923cde0015058 100644
--- a/ui/keyboard/keyboard_util.cc
+++ b/ui/keyboard/keyboard_util.cc
@@ -118,7 +118,11 @@
switches::kDisableVirtualKeyboardOverscroll)) {
return false;
}
- return true;
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableVirtualKeyboardOverscroll)) {
+ return true;
+ }
+ return false;
}
bool IsInputViewEnabled() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698