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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 1 month 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 | « no previous file | chrome/browser/apps/web_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java
index 6dc01c49c8d334a52ede6034cebb037cb4817722..29ba300f0b7803b2fc4c73812ce577128b017347 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java
@@ -68,7 +68,6 @@ public class ContextMenuHelper implements OnCreateContextMenuListener, OnMenuIte
mCurrentContextMenuParams = params;
view.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
- contentViewCore.setIgnoreRemainingTouchEvents();
view.setOnCreateContextMenuListener(this);
view.showContextMenu();
}
@@ -128,4 +127,4 @@ public class ContextMenuHelper implements OnCreateContextMenuListener, OnMenuIte
private native void nativeOnStartDownload(long nativeContextMenuHelper, boolean isLink);
private native void nativeOnCustomItemSelected(long nativeContextMenuHelper, int action);
-}
+}
« no previous file with comments | « no previous file | chrome/browser/apps/web_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698