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

Unified Diff: content/public/android/java/src/org/chromium/content/common/ContentSwitches.java

Issue 2710683003: [Android] Add switch to disable native event batching (Closed)
Patch Set: Stash the switch and move inside ACTION_DOWN block Created 3 years, 10 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
Index: content/public/android/java/src/org/chromium/content/common/ContentSwitches.java
diff --git a/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java b/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java
index a356d089e7e81271d1fdbaada1ab4b644407518c..073d626247f59a8495ae50413cfde50b06885f59 100644
--- a/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java
+++ b/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java
@@ -78,6 +78,9 @@ public abstract class ContentSwitches {
public static final String USE_FAKE_DEVICE_FOR_MEDIA_STREAM =
"use-fake-device-for-media-stream";
+ // Disable motion event batching through View.requestUnbufferedDispatch().
+ public static final String DISABLE_EVENT_BATCHING = "disable-event-batching";
aelias_OOO_until_Jul13 2017/02/22 22:40:51 Please call this "request-unbuffered-dispatch".
chongz 2017/02/22 23:08:58 Done.
+
// Prevent instantiation.
private ContentSwitches() {}

Powered by Google App Engine
This is Rietveld 408576698