Index: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java |
index 59c6422f20a88d948156b4d2cd399af32c2a3e39..23f48ebfee447459acda72d290738c76dc3ca034 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java |
@@ -24,4 +24,13 @@ public abstract class AwWebContentsDelegate extends WebContentsDelegateAndroid { |
@CalledByNative |
public abstract void activateContents(); |
+ |
+ /** |
+ * Report a change in the preferred size. |
+ * @param width preferred width in CSS pixels. |
+ * @param height scroll height of the document element in CSS pixels. |
+ */ |
+ @CalledByNative |
+ public void updatePreferredSize(int widthCss, int heightCss) { |
+ } |
} |