|
Use contents size for android_webview layout size.
Currently android_webview uses RenderView::preferredSize (which is
based off of documentElement.height) to drive the android.view.View
layout size.
WebViewClassic would use content size for that purpose which meant
that absolute-positioned elements can cause the Classic WebView to
grow.
This CL makes AwContents use the contents size for driving layout.
BUG= 286336
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223984
Total comments: 12
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+111 lines, -72 lines) |
Patch |
 |
M |
android_webview/browser/renderer_host/aw_render_view_host_ext.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/renderer_host/aw_render_view_host_ext.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/common/render_view_messages.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/java/src/org/chromium/android_webview/AwContents.java
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java
|
View
|
1
2
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
View
|
1
2
|
2 chunks |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
M |
android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java
|
View
|
1
2
3
4
5
|
3 chunks |
+34 lines, -3 lines |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_contents.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_contents.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_settings.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_settings.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_web_contents_delegate.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_web_contents_delegate.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
android_webview/renderer/aw_render_view_ext.h
|
View
|
1
2
3
4
5
|
4 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/renderer/aw_render_view_ext.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_view_observer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|