Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Issue 1565893004: Sets a transparent background for out-of-process subframes. (Closed)

Created:
4 years, 11 months ago by lfg
Modified:
4 years, 10 months ago
Reviewers:
lcwu1, halliwell, boliu, dcheng, piman
CC:
dcheng, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-blink_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sets a transparent background for out-of-process subframes by default. This CL moves background color from WebView to WebFrameWidget, which allows for setting the background color independently per local root. WebViewImpl still implements background color for the main frame, but it now goes through a WebViewFrameWidget interface. BUG=515625 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/caab514ea9a212c7a0cbdc6a001a86736451679f Cr-Commit-Position: refs/heads/master@{#377937}

Patch Set 1 #

Patch Set 2 : fixing cast, android #

Patch Set 3 : fixing hittesting over transparent backgrounds #

Patch Set 4 : rebase #

Patch Set 5 : rebase again #

Patch Set 6 : rebase #

Patch Set 7 : android #

Patch Set 8 : includes #

Patch Set 9 : fixing android build #

Patch Set 10 : split cc changes #

Total comments: 2

Patch Set 11 : removing background override #

Total comments: 5

Patch Set 12 : addressing comment, fixing android #

Total comments: 2

Patch Set 13 : addressing comment #

Total comments: 1

Patch Set 14 : compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -43 lines) Patch
M android_webview/renderer/aw_render_frame_ext.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/renderer/aw_render_frame_ext.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +11 lines, -3 lines 0 comments Download
M chromecast/renderer/cast_content_renderer_client.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/public/renderer/render_view.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +8 lines, -3 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +14 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +27 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameWidget.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 35 (13 generated)
lfg
Hey Daniel, please take a look.
4 years, 10 months ago (2016-01-27 22:15:00 UTC) #6
dcheng
How come there's some hittesting changes in this CL?
4 years, 10 months ago (2016-01-27 23:50:08 UTC) #8
lfg
On 2016/01/27 23:50:08, dcheng wrote: > How come there's some hittesting changes in this CL? ...
4 years, 10 months ago (2016-01-28 00:28:45 UTC) #9
lfg
Hey Daniel, I've split the cc/ changes into a separate patch. Please take another look.
4 years, 10 months ago (2016-02-02 18:18:59 UTC) #10
lfg
On 2016/02/02 18:18:59, lfg wrote: > Hey Daniel, I've split the cc/ changes into a ...
4 years, 10 months ago (2016-02-02 18:21:30 UTC) #11
dcheng
https://codereview.chromium.org/1565893004/diff/220001/third_party/WebKit/public/web/WebFrameWidget.h File third_party/WebKit/public/web/WebFrameWidget.h (right): https://codereview.chromium.org/1565893004/diff/220001/third_party/WebKit/public/web/WebFrameWidget.h#newcode74 third_party/WebKit/public/web/WebFrameWidget.h:74: virtual void setBackgroundColorOverride(WebColor) = 0; Does this need to ...
4 years, 10 months ago (2016-02-10 22:13:44 UTC) #12
lfg
https://codereview.chromium.org/1565893004/diff/220001/third_party/WebKit/public/web/WebFrameWidget.h File third_party/WebKit/public/web/WebFrameWidget.h (right): https://codereview.chromium.org/1565893004/diff/220001/third_party/WebKit/public/web/WebFrameWidget.h#newcode74 third_party/WebKit/public/web/WebFrameWidget.h:74: virtual void setBackgroundColorOverride(WebColor) = 0; On 2016/02/10 22:13:44, dcheng ...
4 years, 10 months ago (2016-02-10 23:20:24 UTC) #13
lfg
Hey Daniel, I've removed the override, please take a look.
4 years, 10 months ago (2016-02-11 22:34:37 UTC) #14
dcheng
https://codereview.chromium.org/1565893004/diff/240001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/1565893004/diff/240001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode67 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:67: if (localRoot->parent()) Do you think it'd make sense to ...
4 years, 10 months ago (2016-02-11 22:40:26 UTC) #15
lfg
https://codereview.chromium.org/1565893004/diff/240001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/1565893004/diff/240001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode67 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:67: if (localRoot->parent()) On 2016/02/11 22:40:26, dcheng wrote: > Do ...
4 years, 10 months ago (2016-02-11 23:48:02 UTC) #16
dcheng
lgtm https://codereview.chromium.org/1565893004/diff/240001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/1565893004/diff/240001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode300 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:300: On 2016/02/11 at 23:48:02, lfg wrote: > On ...
4 years, 10 months ago (2016-02-12 22:46:24 UTC) #17
lfg
boliu@chromium.org: Please review changes in android_webview/* lcwu@chromium.org: Please review changes in chromecast/* piman@chromium.org: Please review ...
4 years, 10 months ago (2016-02-25 17:23:10 UTC) #19
lcwu1
4 years, 10 months ago (2016-02-25 17:28:42 UTC) #21
halliwell
On 2016/02/25 17:28:42, lcwu1 wrote: chromecast/ lgtm
4 years, 10 months ago (2016-02-25 17:32:28 UTC) #22
boliu
Possibly dumb question. I noticed the methods on WebViewImpl aren't actually removed? Any reason for ...
4 years, 10 months ago (2016-02-25 17:56:03 UTC) #23
piman
rs lgtm if dcheng@ is happy
4 years, 10 months ago (2016-02-25 21:58:37 UTC) #24
lfg
On 2016/02/25 17:56:03, boliu wrote: > Possibly dumb question. I noticed the methods on WebViewImpl ...
4 years, 10 months ago (2016-02-25 22:12:23 UTC) #25
lfg
https://codereview.chromium.org/1565893004/diff/260001/android_webview/renderer/aw_render_frame_ext.cc File android_webview/renderer/aw_render_frame_ext.cc (right): https://codereview.chromium.org/1565893004/diff/260001/android_webview/renderer/aw_render_frame_ext.cc#newcode257 android_webview/renderer/aw_render_frame_ext.cc:257: blink::WebFrameWidget* webframewidget = GetWebFrameWidget(); On 2016/02/25 17:56:03, boliu wrote: ...
4 years, 10 months ago (2016-02-25 22:12:40 UTC) #26
boliu
lgtm % compile https://codereview.chromium.org/1565893004/diff/280001/android_webview/renderer/aw_render_frame_ext.cc File android_webview/renderer/aw_render_frame_ext.cc (right): https://codereview.chromium.org/1565893004/diff/280001/android_webview/renderer/aw_render_frame_ext.cc#newcode258 android_webview/renderer/aw_render_frame_ext.cc:258: if (!webframewidget) this doesn't compile..
4 years, 10 months ago (2016-02-25 22:17:14 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565893004/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565893004/300001
4 years, 10 months ago (2016-02-26 17:52:16 UTC) #30
commit-bot: I haz the power
Committed patchset #14 (id:300001)
4 years, 10 months ago (2016-02-26 19:07:01 UTC) #33
commit-bot: I haz the power
4 years, 10 months ago (2016-02-26 19:08:18 UTC) #35
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/caab514ea9a212c7a0cbdc6a001a86736451679f
Cr-Commit-Position: refs/heads/master@{#377937}

Powered by Google App Engine
This is Rietveld 408576698