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 ac2cb98c0c82a15ed565ba82aa13a72128d7f4ad..55aa8ac2b3bd5e14687277fae51dc15f3c3a57cf 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
@@ -2917,6 +2917,7 @@ public class AwContents implements SmartClipProvider { |
/** |
* Determine if at least one edge of the WebView extends over the edge of the window. |
*/ |
+ @CalledByNative |
private boolean extendsOutOfWindow() { |
int loc[] = new int[2]; |
mContainerView.getLocationOnScreen(loc); |
@@ -2945,6 +2946,7 @@ public class AwContents implements SmartClipProvider { |
* @return true if the WebView is visible |
*/ |
@VisibleForTesting |
+ @CalledByNative |
protected boolean canShowInterstitial() { |
return mIsAttachedToWindow && mIsViewVisible; |
} |