| 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 cb91c77ae25656cf4af7011f34777fc99a0883c5..a518ccc634a988bac55a1a890b742475ea50533c 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -344,6 +344,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);
|
| + }
|
| }
|
|
|
| //--------------------------------------------------------------------------------------------
|
| @@ -1510,6 +1515,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);
|
| }
|
|
|
| @@ -1903,6 +1909,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);
|
|
|