| 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 631d5ed27b689f950284c2e324918e315c897b9b..d85a02f55de864b68f6c183656a49e9d8f2771f6 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -343,6 +343,11 @@ public class AwContents {
|
| public void setMeasuredDimension(int measuredWidth, int measuredHeight) {
|
| mInternalAccessAdapter.setMeasuredDimension(measuredWidth, measuredHeight);
|
| }
|
| +
|
| + @Override
|
| + public void setFixedLayoutSize(int widthDip, int heightDip) {
|
| + nativeSetFixedLayoutSize(mNativeAwContents, widthDip, heightDip);
|
| + }
|
| }
|
|
|
| //--------------------------------------------------------------------------------------------
|
| @@ -1505,6 +1510,7 @@ public class AwContents {
|
| mScrollOffsetManager.setContainerViewSize(w, h);
|
| mContentViewCore.onPhysicalBackingSizeChanged(w, h);
|
| mContentViewCore.onSizeChanged(w, h, ow, oh);
|
| + mLayoutSizer.onSizeChanged(w, h, ow, oh);
|
| nativeOnSizeChanged(mNativeAwContents, w, h, ow, oh);
|
| }
|
|
|
| @@ -1898,6 +1904,7 @@ public class AwContents {
|
| private native void nativeSetDipScale(int nativeAwContents, float dipScale);
|
| private native void nativeSetDisplayedPageScaleFactor(int nativeAwContents,
|
| float pageScaleFactor);
|
| + private native void nativeSetFixedLayoutSize(int nativeAwContents, int widthDip, int heightDip);
|
|
|
| // Returns null if save state fails.
|
| private native byte[] nativeGetOpaqueState(int nativeAwContents);
|
|
|