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

Issue 1587743002: RenderWidgetCompositor should be decoupled from RenderWidget. (Closed)

Created:
4 years, 11 months ago by Fady Samuel
Modified:
4 years, 11 months ago
Reviewers:
danakj, chrishtr, piman
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RenderWidgetCompositor should be decoupled from RenderWidget. This is a mechanical refactor of RenderWidgetCompositor and RenderWidget. At this point it removes references for routing ID, and RenderWidget from RenderWidgetCompositor's implementation. This is likely not the final refactor as I am still in the process of detangling WebWidgetClient's implementation from RenderWidget. Once that happens, I might have some simplifications. BUG=577321 Committed: https://crrev.com/40b2fccfc256dccfdda03cc99e5b1d5b75d24751 Cr-Commit-Position: refs/heads/master@{#369383} Committed: https://crrev.com/78f86e4a1f05241ed5dae1d67faeeec8e87a4351 Cr-Commit-Position: refs/heads/master@{#370298}

Patch Set 1 #

Patch Set 2 : Remove unnecessary changes #

Patch Set 3 : Remove unnecessary include #

Patch Set 4 : Cleanup #

Total comments: 8

Patch Set 5 : Addressed some of piman's concenrs #

Patch Set 6 : device_scale_factor => initial_device_scale_factor #

Patch Set 7 : Fixed render_widget_compositor_unittest.cc #

Patch Set 8 : Fixed failure: Don't create an OutputSurface when closing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -177 lines) Patch
M content/content_renderer.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 4 chunks +8 lines, -6 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 14 chunks +34 lines, -63 lines 0 comments Download
A content/renderer/gpu/render_widget_compositor_delegate.h View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor_unittest.cc View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 chunks +29 lines, -29 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 7 chunks +151 lines, -75 lines 0 comments Download

Messages

Total messages: 35 (18 generated)
Fady Samuel
4 years, 11 months ago (2016-01-13 20:46:00 UTC) #5
piman
Thanks, the interface cleanup goes along the lines of what I was thinking! One main ...
4 years, 11 months ago (2016-01-13 22:09:30 UTC) #7
danakj
https://codereview.chromium.org/1587743002/diff/60001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (left): https://codereview.chromium.org/1587743002/diff/60001/content/renderer/gpu/render_widget_compositor.cc#oldcode885 content/renderer/gpu/render_widget_compositor.cc:885: widget_->webwidget()->updateAllLifecyclePhases(); On 2016/01/13 22:09:30, piman (Slow to review) wrote: ...
4 years, 11 months ago (2016-01-13 22:24:33 UTC) #8
Fady Samuel
PTAL, piman@. I've restored the code to avoid semantic changes. I didn't do the device_scale_factor ...
4 years, 11 months ago (2016-01-13 23:48:14 UTC) #9
piman
lgtm https://codereview.chromium.org/1587743002/diff/60001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1587743002/diff/60001/content/renderer/gpu/render_widget_compositor.cc#newcode209 content/renderer/gpu/render_widget_compositor.cc:209: float device_scale_factor, On 2016/01/13 23:48:13, Fady Samuel wrote: ...
4 years, 11 months ago (2016-01-14 00:13:23 UTC) #10
Fady Samuel
On 2016/01/14 00:13:23, piman (Slow to review) wrote: > lgtm > > https://codereview.chromium.org/1587743002/diff/60001/content/renderer/gpu/render_widget_compositor.cc > File ...
4 years, 11 months ago (2016-01-14 01:28:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587743002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587743002/100001
4 years, 11 months ago (2016-01-14 01:31:14 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/144884)
4 years, 11 months ago (2016-01-14 02:12:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587743002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587743002/120001
4 years, 11 months ago (2016-01-14 03:09:36 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
4 years, 11 months ago (2016-01-14 05:15:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587743002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587743002/120001
4 years, 11 months ago (2016-01-14 09:53:44 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-14 09:58:06 UTC) #24
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/40b2fccfc256dccfdda03cc99e5b1d5b75d24751 Cr-Commit-Position: refs/heads/master@{#369383}
4 years, 11 months ago (2016-01-14 09:59:48 UTC) #26
vasilii
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1586523004/ by vasilii@chromium.org. ...
4 years, 11 months ago (2016-01-14 12:32:18 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587743002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587743002/140001
4 years, 11 months ago (2016-01-20 01:23:31 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 11 months ago (2016-01-20 04:10:31 UTC) #33
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 04:12:36 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/78f86e4a1f05241ed5dae1d67faeeec8e87a4351
Cr-Commit-Position: refs/heads/master@{#370298}

Powered by Google App Engine
This is Rietveld 408576698