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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 11471040: [Android WebView] Convert context menu callback to long press (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 48758aa420dfac79e9ddeb0e5be17c1875f9a675..3a2e56e99a3fa1b8b210f9060d3d8a558cbeea12 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -830,6 +830,11 @@ public class AwContents {
mContainerView.invalidate();
}
+ @CalledByNative
+ private void onLongPress() {
+ mContentsClient.onLongPress();
joth 2012/12/08 01:29:12 mContainerView.performLongClick should do you here
boliu 2012/12/10 20:19:28 Done.
+ }
+
// -------------------------------------------------------------------------------------------
// Helper methods
// -------------------------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698