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

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: aelias's review: Use @TargetApi and change switch name 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..528f6df8318b3a7328f4be9e0a66011eb485002b 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 REQUEST_UNBUFFERED_DISPATCH = "request-unbuffered-dispatch";
+
// Prevent instantiation.
private ContentSwitches() {}

Powered by Google App Engine
This is Rietveld 408576698