Index: content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java |
index 2b23fc97c7ebe7f52dd43cd849e929826285a4cb..3e79dbe1223d3374956a2816819d57c5bdef76f8 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java |
@@ -207,8 +207,9 @@ class ContentViewGestureHandler implements LongPressDelegate { |
// These have to be kept in sync with content/port/common/input_event_ack_state.h |
static final int INPUT_EVENT_ACK_STATE_UNKNOWN = 0; |
static final int INPUT_EVENT_ACK_STATE_CONSUMED = 1; |
- static final int INPUT_EVENT_ACK_STATE_NOT_CONSUMED = 2; |
- static final int INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS = 3; |
+ static final int INPUT_EVENT_ACK_STATE_IGNORED = 2; |
+ static final int INPUT_EVENT_ACK_STATE_NOT_CONSUMED = 3; |
+ static final int INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS = 4; |
// Return values of sendPendingEventToNative(); |
static final int EVENT_FORWARDED_TO_NATIVE = 0; |
@@ -1121,6 +1122,7 @@ class ContentViewGestureHandler implements LongPressDelegate { |
assert(false); |
break; |
case INPUT_EVENT_ACK_STATE_CONSUMED: |
+ case INPUT_EVENT_ACK_STATE_IGNORED: |
mJavaScriptIsConsumingGesture = true; |
mZoomManager.passTouchEventThrough(ackedEvent); |
trySendPendingEventsToNative(); |