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

Issue 12226051: Clean up RenderWidget/RenderWidgetCompositor/WebKit interactions (Closed)

Created:
7 years, 10 months ago by jamesr
Modified:
7 years, 9 months ago
Reviewers:
piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Clean up RenderWidget/RenderWidgetCompositor/WebKit interactions This routes communication between RenderWidget's compositing support (RenderWidgetCompositor) and WebKit through the WebWidget interface instead of going through WebLayerTreeView(Client). The goal is to get rid of the WebLayerTreeViewClient interface completely, slim down WebLayerTreeView, and have all compositing-related communication between chromium and WebKit just go through WebWidget, since compositing mode isn't really all that special any more. RenderWidgetCompositor is responsible for bridging between the compositor implementation in cc:: and RenderWidget itself. Interacts closely with http://webkit.org/b/109125 BUG=175383 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186379

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : just diff relative to https://codereview.chromium.org/12377029/ #

Total comments: 2

Patch Set 4 : law of demeter #

Total comments: 1

Patch Set 5 : rebased, still depends on WebKit patch rolling in #

Patch Set 6 : rebased, ready to land #

Patch Set 7 : fix android, hide layer_tree_host in content::RWC #

Patch Set 8 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -48 lines) Patch
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 6 7 4 chunks +11 lines, -8 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 6 chunks +30 lines, -28 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl_android.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -6 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
jamesr
Some of the WebKit unit tests don't work yet and I haven't figured out how ...
7 years, 10 months ago (2013-02-07 02:51:49 UTC) #1
piman
LGTM in principle, if you can figure out how to land this :)
7 years, 10 months ago (2013-02-12 01:29:56 UTC) #2
jamesr
On 2013/02/12 01:29:56, piman wrote: > LGTM in principle, if you can figure out how ...
7 years, 10 months ago (2013-02-12 02:04:41 UTC) #3
jamesr
On 2013/02/12 01:29:56, piman wrote: > LGTM in principle, if you can figure out how ...
7 years, 9 months ago (2013-03-01 01:13:15 UTC) #4
jamesr
FYI this patch also includes https://codereview.chromium.org/12377029/, which is waiting on another WebKit roll, but I'll ...
7 years, 9 months ago (2013-03-01 01:13:48 UTC) #5
piman
LGTM+couple of nits https://codereview.chromium.org/12226051/diff/10001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/12226051/diff/10001/content/renderer/gpu/render_widget_compositor.cc#newcode81 content/renderer/gpu/render_widget_compositor.cc:81: scoped_ptr<RenderWidgetCompositor> comp( nit: s/comp/compositor/ while you're ...
7 years, 9 months ago (2013-03-01 01:51:40 UTC) #6
jamesr
On 2013/03/01 01:51:40, piman wrote: > LGTM+couple of nits > > https://codereview.chromium.org/12226051/diff/10001/content/renderer/gpu/render_widget_compositor.cc > File content/renderer/gpu/render_widget_compositor.cc ...
7 years, 9 months ago (2013-03-01 01:56:09 UTC) #7
piman
On Thu, Feb 28, 2013 at 5:56 PM, <jamesr@chromium.org> wrote: > On 2013/03/01 01:51:40, piman ...
7 years, 9 months ago (2013-03-01 01:57:49 UTC) #8
jamesr
Done - PTAL
7 years, 9 months ago (2013-03-01 22:36:05 UTC) #9
piman
lgtm https://codereview.chromium.org/12226051/diff/14001/content/renderer/gpu/render_widget_compositor.h File content/renderer/gpu/render_widget_compositor.h (right): https://codereview.chromium.org/12226051/diff/14001/content/renderer/gpu/render_widget_compositor.h#newcode32 content/renderer/gpu/render_widget_compositor.h:32: cc::LayerTreeHost* layer_tree_host() const { return layer_tree_host_.get(); } nit: ...
7 years, 9 months ago (2013-03-01 22:58:20 UTC) #10
jamesr
On 2013/03/01 22:58:20, piman wrote: > lgtm > > https://codereview.chromium.org/12226051/diff/14001/content/renderer/gpu/render_widget_compositor.h > File content/renderer/gpu/render_widget_compositor.h (right): > ...
7 years, 9 months ago (2013-03-01 23:00:45 UTC) #11
piman
On Fri, Mar 1, 2013 at 3:00 PM, <jamesr@chromium.org> wrote: > On 2013/03/01 22:58:20, piman ...
7 years, 9 months ago (2013-03-01 23:06:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/12226051/20001
7 years, 9 months ago (2013-03-06 00:50:34 UTC) #13
jamesr
Turns out since I had to fix the android build anyway it was just as ...
7 years, 9 months ago (2013-03-06 01:34:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/12226051/31003
7 years, 9 months ago (2013-03-06 01:44:49 UTC) #15
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=105735
7 years, 9 months ago (2013-03-06 04:38:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/12226051/37001
7 years, 9 months ago (2013-03-06 05:09:57 UTC) #17
commit-bot: I haz the power
7 years, 9 months ago (2013-03-06 09:11:21 UTC) #18
Message was sent while issue was closed.
Change committed as 186379

Powered by Google App Engine
This is Rietveld 408576698