Chromium Code Reviews| 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 95ef94d1a9e1d92b56eab66af4cf7cd624b2090c..e80db710399b51517393f1f25a4afd150287701a 100644 |
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java |
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
| @@ -3339,7 +3339,7 @@ public class AwContents implements SmartClipProvider { |
| // to enter fixedLayoutSize mode is sent before the first resize |
| // update. |
| mLayoutSizer.onSizeChanged(w, h, ow, oh); |
| - mContentViewCore.onPhysicalBackingSizeChanged(w, h); |
| + nativeOnPhysicalBackingSizeChanged(mNativeAwContents, w, h); |
|
boliu
2017/04/29 00:18:40
merge this with nativeOnSizeChanged (move nativeOn
Jinsuk Kim
2017/04/30 00:23:49
Done.
|
| mContentViewCore.onSizeChanged(w, h, ow, oh); |
| nativeOnSizeChanged(mNativeAwContents, w, h, ow, oh); |
| } |
| @@ -3471,6 +3471,7 @@ public class AwContents implements SmartClipProvider { |
| float touchMajor); |
| private native void nativeUpdateLastHitTestData(long nativeAwContents); |
| + private native void nativeOnPhysicalBackingSizeChanged(long nativeAwContents, int w, int h); |
| private native void nativeOnSizeChanged(long nativeAwContents, int w, int h, int ow, int oh); |
| private native void nativeScrollTo(long nativeAwContents, int x, int y); |
| private native void nativeSmoothScroll( |