|
Propagate pageScaleFactor to GuestViews.
We make all changes to pageScaleFactor available to the
browser process, so that WebContentsObservers may observe
them.
Previously, we were only sending notifications to the browser
process when the PageScaleFactorIsOne changed. Now that we're
notifying whenever the pageScaleFactor changed, we get rid of
this extra message and have the browser process handle the
PageScaleFactorIsOne logic as part of its handling of all
pageScaleFactor changes.
We also replace WebContentsImpl::ResetPageScale with
WebContentsImpl::SetPageScale, so that the browser process can
set any pageScaleFactor.
BUG= 445319
Committed: https://crrev.com/432e47d6fc9b1a154900d91ad4841632160af238
Cr-Commit-Position: refs/heads/master@{#358631}
Total comments: 12
Total comments: 13
Total comments: 2
Total comments: 2
Total comments: 1
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+152 lines, -90 lines) |
Patch |
 |
M |
android_webview/browser/renderer_host/aw_render_view_host_ext.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/browser/renderer_host/aw_render_view_host_ext.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
android_webview/common/render_view_messages.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -4 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
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
|
View
|
1
2
3
4
5
6
7
8
9
10
|
14 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
android_webview/renderer/aw_render_view_ext.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
android_webview/renderer/aw_render_view_ext.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/host_zoom_map_browsertest.cc
|
View
|
1
2
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/guest_view/browser/guest_view_base.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/ui/zoom/page_zoom.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/host_zoom_map_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+25 lines, -2 lines |
2 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/swapped_out_messages.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_observer.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -11 lines |
4 comments
|
Download
|
Total messages: 74 (26 generated)
|