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

Issue 1419913002: Remove blink::WebLayerClient and WebGraphicsLayerDebugInfo. (Closed)

Created:
5 years, 2 months ago by jbroman
Modified:
5 years, 1 month ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove blink::WebLayerClient and WebGraphicsLayerDebugInfo. It is now legal for Blink to provide an implementation of cc::LayerClient. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/69698f992d3c6b2badd01f718c71df7a52b099fb Cr-Commit-Position: refs/heads/master@{#360855}

Patch Set 1 #

Patch Set 2 : IT'S ALIVE #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : ui/compositor/layer_unittest.cc #

Patch Set 7 : try making webcore_shared link with base to fix win dbg component #

Total comments: 9

Patch Set 8 : forbid cc/blink from blink #

Total comments: 4

Patch Set 9 : merge with origin/master #

Total comments: 3

Patch Set 10 : merge with origin/master, use base::StringPiece to avoid copies, and obey `gn format` #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -248 lines) Patch
M cc/blink/web_layer_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -8 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -38 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_client.h View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/core.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gyp View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/DEPS View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 1 2 3 4 5 6 7 8 9 6 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 6 7 8 9 9 chunks +22 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h View 1 2 3 4 2 chunks +13 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +25 lines, -45 lines 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -2 lines 0 comments Download
D third_party/WebKit/public/platform/WebGraphicsLayerDebugInfo.h View 1 2 3 4 1 chunk +0 lines, -50 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -2 lines 0 comments Download
D third_party/WebKit/public/platform/WebLayerClient.h View 1 2 3 4 1 chunk +0 lines, -55 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/layer_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (6 generated)
jbroman
Apologies for the large reviewer list, but it seemed appropriate given this CL may form ...
5 years, 2 months ago (2015-10-23 15:37:53 UTC) #4
chrishtr
https://codereview.chromium.org/1419913002/diff/140001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp File third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp (right): https://codereview.chromium.org/1419913002/diff/140001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp#newcode50 third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp:50: tracedValue->BeginDictionary(); Why these changes?
5 years, 2 months ago (2015-10-23 17:23:13 UTC) #5
jbroman
https://codereview.chromium.org/1419913002/diff/140001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp File third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp (right): https://codereview.chromium.org/1419913002/diff/140001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp#newcode50 third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp:50: tracedValue->BeginDictionary(); On 2015/10/23 at 17:23:13, chrishtr wrote: > Why ...
5 years, 2 months ago (2015-10-23 17:33:35 UTC) #6
chrishtr
https://codereview.chromium.org/1419913002/diff/140001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp File third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp (right): https://codereview.chromium.org/1419913002/diff/140001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp#newcode50 third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp:50: tracedValue->BeginDictionary(); On 2015/10/23 at 17:33:35, jbroman wrote: > On ...
5 years, 2 months ago (2015-10-23 17:34:54 UTC) #7
jbroman
To be clear, it's not urgent that this land, but this seems like a small ...
5 years, 2 months ago (2015-10-23 17:47:13 UTC) #8
danakj
LGTM https://codereview.chromium.org/1419913002/diff/140001/cc/blink/web_layer_impl.cc File cc/blink/web_layer_impl.cc (right): https://codereview.chromium.org/1419913002/diff/140001/cc/blink/web_layer_impl.cc#newcode488 cc/blink/web_layer_impl.cc:488: const cc::Layer* WebLayerImpl::ccLayer() const { part of me ...
5 years, 2 months ago (2015-10-23 17:53:39 UTC) #9
jbroman
https://codereview.chromium.org/1419913002/diff/140001/cc/blink/web_layer_impl.cc File cc/blink/web_layer_impl.cc (right): https://codereview.chromium.org/1419913002/diff/140001/cc/blink/web_layer_impl.cc#newcode488 cc/blink/web_layer_impl.cc:488: const cc::Layer* WebLayerImpl::ccLayer() const { On 2015/10/23 at 17:53:39, ...
5 years, 2 months ago (2015-10-23 17:59:00 UTC) #10
chrishtr
lgtm
5 years, 2 months ago (2015-10-23 18:00:11 UTC) #11
danakj
https://codereview.chromium.org/1419913002/diff/140001/cc/blink/web_layer_impl.cc File cc/blink/web_layer_impl.cc (right): https://codereview.chromium.org/1419913002/diff/140001/cc/blink/web_layer_impl.cc#newcode488 cc/blink/web_layer_impl.cc:488: const cc::Layer* WebLayerImpl::ccLayer() const { On 2015/10/23 17:58:59, jbroman ...
5 years, 2 months ago (2015-10-23 18:01:04 UTC) #12
esprehn
Lets hold off on this for now, please be patient. We need better enforcement of ...
5 years, 2 months ago (2015-10-23 19:17:41 UTC) #14
esprehn
fyi: this patch is totally reasonable from the current layering idea and I'll probably use ...
5 years, 2 months ago (2015-10-23 19:20:01 UTC) #15
jbroman
I'm not sure exactly what the path for WebLayer will be. Most of our compositing ...
5 years, 2 months ago (2015-10-23 19:26:24 UTC) #16
enne (OOO)
This is great. lgtm in general.
5 years, 2 months ago (2015-10-23 21:03:32 UTC) #17
jbroman
On 2015/10/23 at 19:20:01, esprehn wrote: > fyi: this patch is totally reasonable from the ...
5 years, 1 month ago (2015-11-13 00:49:33 UTC) #18
danakj
https://codereview.chromium.org/1419913002/diff/180001/third_party/WebKit/Source/platform/graphics/DEPS File third_party/WebKit/Source/platform/graphics/DEPS (right): https://codereview.chromium.org/1419913002/diff/180001/third_party/WebKit/Source/platform/graphics/DEPS#newcode2 third_party/WebKit/Source/platform/graphics/DEPS:2: "+cc", This seems to cover the automating part.
5 years, 1 month ago (2015-11-16 21:47:16 UTC) #19
chrishtr
https://codereview.chromium.org/1419913002/diff/180001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h File third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h (right): https://codereview.chromium.org/1419913002/diff/180001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h#newcode53 third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h:53: scoped_refptr<base::trace_event::TracedValue> asTracedValue() const; Elliott communicated it offline I think, ...
5 years, 1 month ago (2015-11-17 00:21:49 UTC) #20
chrishtr
https://codereview.chromium.org/1419913002/diff/180001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h File third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h (right): https://codereview.chromium.org/1419913002/diff/180001/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h#newcode53 third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h:53: scoped_refptr<base::trace_event::TracedValue> asTracedValue() const; On 2015/11/17 at 00:21:49, chrishtr wrote: ...
5 years, 1 month ago (2015-11-17 00:24:11 UTC) #21
jbroman
OK, so a PRESUBMIT rule is now in place, in addition to DEPS: https://codereview.chromium.org/1453743002 And ...
5 years, 1 month ago (2015-11-20 16:51:15 UTC) #22
esprehn
Lgtm!
5 years, 1 month ago (2015-11-20 17:16:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419913002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419913002/200001
5 years, 1 month ago (2015-11-20 17:38:40 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:200001)
5 years, 1 month ago (2015-11-20 17:44:06 UTC) #27
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/69698f992d3c6b2badd01f718c71df7a52b099fb Cr-Commit-Position: refs/heads/master@{#360855}
5 years, 1 month ago (2015-11-20 17:45:11 UTC) #28
David Yen
5 years, 1 month ago (2015-11-20 19:51:58 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:200001) has been created in
https://codereview.chromium.org/1461423002/ by dyen@chromium.org.

The reason for reverting is: Looks to be causing bot failures for
ContextLost.WebGLContextLostInHiddenTab.

Powered by Google App Engine
This is Rietveld 408576698