Index: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
index 6ecb3f85a3dda3b64dbb9de29c28181dafda7696..4affbb81763dd2917e7493dd41f2cc4bbfcbe97e 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
@@ -430,6 +430,13 @@ import java.util.UUID; |
srcRect.top, srcRect.left, srcRect.width(), srcRect.height()); |
} |
+ @Override |
+ public void onContextMenuClosed() { |
+ if (mNativeWebContentsAndroid != 0) { |
+ nativeOnContextMenuClosed(mNativeWebContentsAndroid); |
+ } |
+ } |
+ |
@CalledByNative |
private void onGetContentBitmapFinished(ContentBitmapCallback callback, Bitmap bitmap, |
int response) { |
@@ -494,4 +501,5 @@ import java.util.UUID; |
private native void nativeGetContentBitmap(long nativeWebContentsAndroid, |
ContentBitmapCallback callback, Bitmap.Config config, float scale, |
float x, float y, float width, float height); |
+ private native void nativeOnContextMenuClosed(long nativeWebContentsAndroid); |
} |