|
[android] Resize the android_webview if it's 0x0 initially.
This changes the content size update path for android_webview to use
the preferred size RenderView mechanism instead of the
CompositorFrameMetadata.
The reason for the change is due to the fact that the CompositorFrameMetadata
is not updated when the view size is 0x0, which is a common use case
for the WebView when it's layout mode is set to "wrap content".
BUG=b/8187850
TEST=AndroidWebViewTests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195135
Total comments: 18
Total comments: 9
Total comments: 7
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+851 lines, -228 lines) |
Patch |
|
M |
android_webview/browser/browser_view_renderer.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/browser_view_renderer_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/browser_view_renderer_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/renderer_host/view_renderer_host.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/renderer_host/view_renderer_host.cc
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
android_webview/common/render_view_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/java/src/org/chromium/android_webview/AwContents.java
|
View
|
1
2
3
4
5
6
7
8
9
|
12 chunks |
+56 lines, -19 lines |
0 comments
|
Download
|
|
M |
android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+0 lines, -118 lines |
0 comments
|
Download
|
|
M |
android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+99 lines, -17 lines |
0 comments
|
Download
|
|
M |
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
View
|
1
|
1 chunk |
+152 lines, -0 lines |
0 comments
|
Download
|
|
A |
android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+191 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+159 lines, -28 lines |
0 comments
|
Download
|
|
M |
android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+34 lines, -7 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_contents.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_contents.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
android_webview/native/aw_settings.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_settings.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+38 lines, -3 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_web_contents_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_web_contents_delegate.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/renderer/aw_render_view_ext.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/renderer/aw_render_view_ext.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
build/android/adb_run_android_webview_shell
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+30 lines, -21 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|