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

Unified Diff: ui/keyboard/keyboard_util.cc

Issue 2889123003: Remove SetOverscrollEnabledWithAccessibilityKeyboard(). (Closed)
Patch Set: 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_util.h ('k') | 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 ecb13c54e07d0bd75591d6002d9001ddec288c1b..069ee13c60979d99bd0af60a0e32abacda80cf8d 100644
--- a/ui/keyboard/keyboard_util.cc
+++ b/ui/keyboard/keyboard_util.cc
@@ -56,8 +56,6 @@ bool g_keyboard_restricted = false;
bool g_touch_keyboard_enabled = false;
-bool g_overscroll_enabled_with_accessibility_keyboard = false;
-
KeyboardState g_requested_keyboard_state = KEYBOARD_STATE_AUTO;
KeyboardOverscrolOverride g_keyboard_overscroll_override =
@@ -150,10 +148,8 @@ bool IsKeyboardOverscrollEnabled() {
// Users of the accessibility on-screen keyboard are likely to be using mouse
// input, which may interfere with overscrolling.
- if (g_accessibility_keyboard_enabled &&
- !g_overscroll_enabled_with_accessibility_keyboard) {
+ if (g_accessibility_keyboard_enabled)
return false;
- }
// If overscroll enabled override is set, use it instead. Currently
// login / out-of-box disable keyboard overscroll. http://crbug.com/363635
@@ -389,8 +385,4 @@ void LogKeyboardControlEvent(KeyboardControlEvent event) {
KEYBOARD_CONTROL_MAX);
}
-void SetOverscrollEnabledWithAccessibilityKeyboard(bool enabled) {
- g_overscroll_enabled_with_accessibility_keyboard = enabled;
-}
-
} // namespace keyboard
« no previous file with comments | « ui/keyboard/keyboard_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698