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

Unified Diff: ui/base/ui_base_switches_util.cc

Issue 16114003: Don't send touch move to renderer while scrolling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« ui/base/ui_base_switches.h ('K') | « ui/base/ui_base_switches_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches_util.cc
diff --git a/ui/base/ui_base_switches_util.cc b/ui/base/ui_base_switches_util.cc
index c541a9b1b26414d25ad7aee0ff41f98a645f049d..d762c4de13d0c13ff2fe4451c181f0656608046c 100644
--- a/ui/base/ui_base_switches_util.cc
+++ b/ui/base/ui_base_switches_util.cc
@@ -9,6 +9,11 @@
namespace switches {
+bool IsTouchCancelAfterScrollEnabled() {
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableTouchCancelAfterScroll);
+}
+
bool IsTouchDragDropEnabled() {
return CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableTouchDragDrop);
« ui/base/ui_base_switches.h ('K') | « ui/base/ui_base_switches_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698