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

Issue 11575049: Make RenderWidget responsible for the composited view's lifetime (Closed)

Created:
8 years ago by jamesr
Modified:
7 years, 11 months ago
Reviewers:
piman, enne (OOO)
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, danakj, brettw
Visibility:
Public.

Description

Make RenderWidget responsible for the composited view's lifetime Chromium side of https://bugs.webkit.org/show_bug.cgi?id=105071. content::RenderWidget constructs a WebLayerTreeView when WebKit asks it and then retains ownership. This has to be destroyed before the WebWidget is closed since the WLTVClient is (currently) a WebKit object. BUG=156175 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175303 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175827 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176271 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176707 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178256

Patch Set 1 #

Patch Set 2 : change type to WLTVImpl, make calls directly where possible #

Patch Set 3 : style #

Patch Set 4 : make cc::LayerTreeHost getter chromium-style #

Total comments: 1

Patch Set 5 : fix anim time #

Patch Set 6 : rebased #

Patch Set 7 : rebased properly #

Patch Set 8 : #

Patch Set 9 : rebased on top of https://codereview.chromium.org/11617016/ #

Patch Set 10 : rebased #

Patch Set 11 : add dependency from content_renderer on compositor bindings #

Patch Set 12 : rebase #

Patch Set 13 : #

Total comments: 1

Patch Set 14 : fixes for render_widget_fullscreen_pepper #

Total comments: 1

Patch Set 15 : rebase, remove commented out code #

Total comments: 1

Patch Set 16 : Call WebWidget::willCloseLayerTreeView before destroying WLTV #

Patch Set 17 : rebased #

Patch Set 18 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -9 lines) Patch
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 8 chunks +56 lines, -9 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (0 generated)
jamesr
8 years ago (2012-12-15 02:47:55 UTC) #1
jamesr
I've moved a number of calls from WebViewImpl to RenderWidget - after this lands I'll ...
8 years ago (2012-12-16 02:01:15 UTC) #2
enne (OOO)
https://codereview.chromium.org/11575049/diff/4006/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/11575049/diff/4006/content/renderer/render_widget.cc#newcode855 content/renderer/render_widget.cc:855: web_layer_tree_view_->updateAnimations(0.0); Why is this zero? It seems like if ...
8 years ago (2012-12-16 20:02:59 UTC) #3
jamesr
On 2012/12/16 20:02:59, enne wrote: > https://codereview.chromium.org/11575049/diff/4006/content/renderer/render_widget.cc > File content/renderer/render_widget.cc (right): > > https://codereview.chromium.org/11575049/diff/4006/content/renderer/render_widget.cc#newcode855 > ...
8 years ago (2012-12-17 01:02:16 UTC) #4
enne (OOO)
lgtm
8 years ago (2012-12-17 17:48:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/18001
8 years ago (2012-12-18 03:47:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/39002
8 years ago (2012-12-20 07:40:19 UTC) #7
commit-bot: I haz the power
Presubmit check for 11575049-39002 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-20 07:40:23 UTC) #8
jamesr
Antoine - could you OWNERS and CQ if you get a chance? Thanks
8 years ago (2012-12-20 19:41:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/39002
8 years ago (2012-12-20 19:46:17 UTC) #10
jamesr
On 2012/12/20 19:41:45, jamesr wrote: > Antoine - could you OWNERS and CQ if you ...
8 years ago (2012-12-20 19:46:18 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-20 21:25:01 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/11575049/39002
8 years ago (2012-12-20 22:02:00 UTC) #13
commit-bot: I haz the power
Failed to apply patch for webkit/compositor_bindings/web_layer_tree_view_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-12-20 22:02:03 UTC) #14
Leandro Graciá Gil
Any updates on this? I have a patch that depends on this one.
7 years, 11 months ago (2013-01-04 17:23:49 UTC) #15
jamesr
On 2013/01/04 17:23:49, Leandro Graciá Gil wrote: > Any updates on this? I have a ...
7 years, 11 months ago (2013-01-04 18:07:53 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/11575049/52001
7 years, 11 months ago (2013-01-04 18:29:16 UTC) #17
jamesr
https://codereview.chromium.org/11575049/diff/52001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (left): https://codereview.chromium.org/11575049/diff/52001/content/renderer/render_widget.cc#oldcode1072 content/renderer/render_widget.cc:1072: webwidget_->composite(false); oh snap, this change might break render_widget_fullscreen_pepper
7 years, 11 months ago (2013-01-04 19:24:48 UTC) #18
jamesr
This patch does make some bad assumptions about when compositing is active - with a ...
7 years, 11 months ago (2013-01-04 21:20:39 UTC) #19
jamesr
With render_widget_fullscreen_pepper's PepperWidget, we can have RenderWidgets that are composited but that do not have ...
7 years, 11 months ago (2013-01-04 21:45:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/63001
7 years, 11 months ago (2013-01-04 22:32:02 UTC) #21
commit-bot: I haz the power
Presubmit check for 11575049-63001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-04 22:32:07 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/63001
7 years, 11 months ago (2013-01-04 22:42:49 UTC) #23
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests
7 years, 11 months ago (2013-01-05 01:23:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/63001
7 years, 11 months ago (2013-01-05 01:25:26 UTC) #25
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests
7 years, 11 months ago (2013-01-05 03:41:57 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/63001
7 years, 11 months ago (2013-01-05 19:20:05 UTC) #27
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 19:44:17 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/63001
7 years, 11 months ago (2013-01-05 19:49:59 UTC) #29
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 20:21:43 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/63001
7 years, 11 months ago (2013-01-06 03:14:18 UTC) #31
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-06 03:44:55 UTC) #32
jamesr
Turns out the mac_asan compile failure is real, but it only happens when using the ...
7 years, 11 months ago (2013-01-06 22:59:36 UTC) #33
Sami
https://codereview.chromium.org/11575049/diff/63001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/11575049/diff/63001/content/renderer/render_widget.cc#newcode1639 content/renderer/render_widget.cc:1639: if (is_accelerated_compositing_active_/* && web_layer_tree_view_*/) { Drive by nit: comment ...
7 years, 11 months ago (2013-01-07 14:42:49 UTC) #34
piman
lgtm
7 years, 11 months ago (2013-01-07 18:34:54 UTC) #35
jamesr
On 2013/01/07 14:42:49, Sami wrote: > https://codereview.chromium.org/11575049/diff/63001/content/renderer/render_widget.cc > File content/renderer/render_widget.cc (right): > > https://codereview.chromium.org/11575049/diff/63001/content/renderer/render_widget.cc#newcode1639 > ...
7 years, 11 months ago (2013-01-08 19:10:16 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/75004
7 years, 11 months ago (2013-01-08 19:12:13 UTC) #37
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 11 months ago (2013-01-08 19:13:56 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/75004
7 years, 11 months ago (2013-01-08 19:16:13 UTC) #39
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 11 months ago (2013-01-08 19:17:48 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/75004
7 years, 11 months ago (2013-01-08 20:14:52 UTC) #41
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests
7 years, 11 months ago (2013-01-09 00:57:53 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/75004
7 years, 11 months ago (2013-01-09 08:08:30 UTC) #43
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests
7 years, 11 months ago (2013-01-09 09:59:35 UTC) #44
jamesr
On 2013/01/09 09:59:35, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 11 months ago (2013-01-09 17:53:35 UTC) #45
jamesr
https://codereview.chromium.org/11575049/diff/75004/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/11575049/diff/75004/content/renderer/render_widget.cc#newcode1486 content/renderer/render_widget.cc:1486: web_layer_tree_view_.reset(); aha, this is causing crashes in threaded mode ...
7 years, 11 months ago (2013-01-09 22:58:58 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11575049/97001
7 years, 11 months ago (2013-01-10 23:44:14 UTC) #47
Leandro Graciá Gil
7 years, 11 months ago (2013-01-17 18:18:24 UTC) #48
Message was sent while issue was closed.
On 2013/01/10 23:44:14, I haz the power (commit-bot) wrote:
> CQ is trying da patch. Follow status at
> https://chromium-status.appspot.com/cq/jamesr%40chromium.org/11575049/97001

Just wondering, is there a new issue for this or maybe this one should not be
marked as closed? Just trying to keep track of the status.

Powered by Google App Engine
This is Rietveld 408576698