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

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: forward declare 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
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ef9e37aa1df05d25e53670ad8933e70acf253dd6 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 boolean performLongClick() {
+ return mContainerView.performLongClick();
+ }
+
// -------------------------------------------------------------------------------------------
// Helper methods
// -------------------------------------------------------------------------------------------
@@ -945,5 +950,5 @@ public class AwContents {
private native boolean nativeRestoreFromOpaqueState(int nativeAwContents, byte[] state);
private native int nativeReleasePopupWebContents(int nativeAwContents);
- private native void nativeSetWebContents(int nativeAwContents, int nativeNewWebContents);
+ private native void nativeSetWebContents(int nativeAwContents, int nativeNewWebContents);
}
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698