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

Issue 18473002: Add an API to report debugName in GraphicsLayer (Closed)

Created:
7 years, 5 months ago by qiankun
Modified:
7 years, 4 months ago
Reviewers:
Shouqun, enne (OOO), jamesr
CC:
blink-reviews, jamesr, eae+blinkwatch, abarth-chromium, danakj, Rik, Stephen Chennney, jeez, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add an API to report debugName in GraphicsLayer Provide an API in GraphicsLayer to report debugName which is useful for debugging sometime. Now debugName is pushed from GraphicsLayer to WebLayer, while this patch makes it possible to get debugName on demand. BUG=269258 TEST=NONE Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156119

Patch Set 1 #

Total comments: 1

Patch Set 2 : pull name in GraphicsLayer #

Patch Set 3 : add WebLayerClient #

Total comments: 8

Patch Set 4 : clear setName #

Total comments: 14

Patch Set 5 : add assert and refine virtual function #

Patch Set 6 : fix anonymous namespace in head file #

Total comments: 6

Patch Set 7 : #

Patch Set 8 : rebase code #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : remove SetDebugName() #

Patch Set 11 : rebase code #

Patch Set 12 : fix build for all_webkit target #

Patch Set 13 : fix release build error and crash in PageOverlay.cpp #

Patch Set 14 : fix layout test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -119 lines) Patch
M Source/core/dom/Node.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.h View 1 2 3 4 5 6 7 6 chunks +4 lines, -8 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +24 lines, -21 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayerClient.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +44 lines, -31 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +28 lines, -24 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +1 line, -2 lines 0 comments Download
M Source/web/PageOverlay.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +3 lines, -2 lines 0 comments Download
M Source/web/PageOverlay.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +26 lines, -4 lines 0 comments Download
M Source/web/PinchViewports.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/PinchViewports.cpp View 1 2 3 4 5 6 7 2 chunks +20 lines, -7 lines 0 comments Download
M Source/web/tests/GraphicsLayerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/tests/ImageLayerChromiumTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M public/platform/WebLayer.h View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -4 lines 0 comments Download
A + public/platform/WebLayerClient.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -6 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
qiankun
PTAL. The blink side patch related to https://codereview.chromium.org/16903005/
7 years, 5 months ago (2013-07-10 04:56:25 UTC) #1
enne (OOO)
https://codereview.chromium.org/18473002/diff/1/Source/core/platform/graphics/GraphicsLayer.h File Source/core/platform/graphics/GraphicsLayer.h (right): https://codereview.chromium.org/18473002/diff/1/Source/core/platform/graphics/GraphicsLayer.h#newcode225 Source/core/platform/graphics/GraphicsLayer.h:225: virtual String debugName() OVERRIDE { return "Layer for " ...
7 years, 5 months ago (2013-07-10 17:16:45 UTC) #2
qiankun
On 2013/07/10 17:16:45, enne wrote: > https://codereview.chromium.org/18473002/diff/1/Source/core/platform/graphics/GraphicsLayer.h > File Source/core/platform/graphics/GraphicsLayer.h (right): > > https://codereview.chromium.org/18473002/diff/1/Source/core/platform/graphics/GraphicsLayer.h#newcode225 > ...
7 years, 5 months ago (2013-07-11 08:54:47 UTC) #3
enne (OOO)
GraphicsLayerClient can differentiate them. Take a look at RenderLayerBacking::paintContents.
7 years, 5 months ago (2013-07-12 17:01:54 UTC) #4
qiankun
On 2013/07/12 17:01:54, enne wrote: > GraphicsLayerClient can differentiate them. Take a look at > ...
7 years, 5 months ago (2013-07-12 17:44:43 UTC) #5
enne (OOO)
On 2013/07/12 17:44:43, qiankun wrote: > On 2013/07/12 17:01:54, enne wrote: > > GraphicsLayerClient can ...
7 years, 5 months ago (2013-07-12 17:58:07 UTC) #6
qiankun
On 2013/07/12 17:58:07, enne wrote: > On 2013/07/12 17:44:43, qiankun wrote: > > On 2013/07/12 ...
7 years, 5 months ago (2013-07-19 04:42:48 UTC) #7
enne (OOO)
On 2013/07/19 04:42:48, qiankun wrote: > For link highlight and contents, I didn't find a ...
7 years, 5 months ago (2013-07-19 15:23:03 UTC) #8
qiankun
On 2013/07/19 15:23:03, enne wrote: > On 2013/07/19 04:42:48, qiankun wrote: > > > For ...
7 years, 5 months ago (2013-07-26 08:41:21 UTC) #9
enne (OOO)
https://codereview.chromium.org/18473002/diff/14001/Source/core/platform/graphics/GraphicsLayer.cpp File Source/core/platform/graphics/GraphicsLayer.cpp (right): https://codereview.chromium.org/18473002/diff/14001/Source/core/platform/graphics/GraphicsLayer.cpp#newcode636 Source/core/platform/graphics/GraphicsLayer.cpp:636: layer->setWebLayerClient(this); Should we clear the client as well when ...
7 years, 4 months ago (2013-07-26 23:40:09 UTC) #10
qiankun
PTAL. Thanks. https://codereview.chromium.org/18473002/diff/14001/Source/core/platform/graphics/GraphicsLayer.cpp File Source/core/platform/graphics/GraphicsLayer.cpp (right): https://codereview.chromium.org/18473002/diff/14001/Source/core/platform/graphics/GraphicsLayer.cpp#newcode636 Source/core/platform/graphics/GraphicsLayer.cpp:636: layer->setWebLayerClient(this); On 2013/07/26 23:40:09, enne wrote: > ...
7 years, 4 months ago (2013-07-30 06:21:25 UTC) #11
enne (OOO)
Thanks for all the changes! This is looking really close to being landable. jamesr: Could ...
7 years, 4 months ago (2013-07-30 17:31:05 UTC) #12
jamesr
Seems like a reasonable approach, although it needs some tweaks. Downside of this is we'll ...
7 years, 4 months ago (2013-07-30 17:37:40 UTC) #13
qiankun
Hi reviewers, thanks for your comments. Updated the patch, PTAL. https://codereview.chromium.org/18473002/diff/21001/Source/WebKit/chromium/src/PageOverlay.cpp File Source/WebKit/chromium/src/PageOverlay.cpp (right): https://codereview.chromium.org/18473002/diff/21001/Source/WebKit/chromium/src/PageOverlay.cpp#newcode86 ...
7 years, 4 months ago (2013-07-31 11:16:27 UTC) #14
jamesr
public/platform/ lgtm
7 years, 4 months ago (2013-08-01 01:12:20 UTC) #15
enne (OOO)
https://codereview.chromium.org/18473002/diff/37001/Source/WebKit/chromium/src/PageOverlay.cpp File Source/WebKit/chromium/src/PageOverlay.cpp (right): https://codereview.chromium.org/18473002/diff/37001/Source/WebKit/chromium/src/PageOverlay.cpp#newcode41 Source/WebKit/chromium/src/PageOverlay.cpp:41: } Don't remove this comment. https://codereview.chromium.org/18473002/diff/37001/Source/WebKit/chromium/src/PageOverlay.cpp#newcode56 Source/WebKit/chromium/src/PageOverlay.cpp:56: String OverlayGraphicsLayerClientImpl::debugName(const ...
7 years, 4 months ago (2013-08-01 05:09:11 UTC) #16
qiankun
> https://codereview.chromium.org/18473002/diff/37001/Source/WebKit/chromium/src/PageOverlay.h#newcode45 > Source/WebKit/chromium/src/PageOverlay.h:45: class > OverlayGraphicsLayerClientImpl : public WebCore::GraphicsLayerClient { > Can you forward ...
7 years, 4 months ago (2013-08-01 05:27:29 UTC) #17
enne (OOO)
On 2013/08/01 05:27:29, qiankun wrote: > > > https://codereview.chromium.org/18473002/diff/37001/Source/WebKit/chromium/src/PageOverlay.h#newcode45 > > Source/WebKit/chromium/src/PageOverlay.h:45: class > > ...
7 years, 4 months ago (2013-08-01 05:31:22 UTC) #18
qiankun
Thanks for review:) PTAL. https://codereview.chromium.org/18473002/diff/37001/Source/WebKit/chromium/src/PageOverlay.cpp File Source/WebKit/chromium/src/PageOverlay.cpp (right): https://codereview.chromium.org/18473002/diff/37001/Source/WebKit/chromium/src/PageOverlay.cpp#newcode41 Source/WebKit/chromium/src/PageOverlay.cpp:41: } On 2013/08/01 05:09:11, enne ...
7 years, 4 months ago (2013-08-01 06:32:42 UTC) #19
enne (OOO)
https://codereview.chromium.org/18473002/diff/48001/Source/web/PageOverlay.h File Source/web/PageOverlay.h (right): https://codereview.chromium.org/18473002/diff/48001/Source/web/PageOverlay.h#newcode35 Source/web/PageOverlay.h:35: #include "core/platform/graphics/GraphicsLayer.h" Are all these includes in the header ...
7 years, 4 months ago (2013-08-01 14:59:12 UTC) #20
qiankun
https://codereview.chromium.org/18473002/diff/48001/Source/web/PageOverlay.h File Source/web/PageOverlay.h (right): https://codereview.chromium.org/18473002/diff/48001/Source/web/PageOverlay.h#newcode35 Source/web/PageOverlay.h:35: #include "core/platform/graphics/GraphicsLayer.h" On 2013/08/01 14:59:13, enne wrote: > Are ...
7 years, 4 months ago (2013-08-01 16:38:49 UTC) #21
enne (OOO)
lgtm, thanks!
7 years, 4 months ago (2013-08-01 16:48:42 UTC) #22
qiankun
On 2013/08/01 16:48:42, enne wrote: > lgtm, thanks! Does Source/web/ need owner's review? If yes, ...
7 years, 4 months ago (2013-08-02 07:09:33 UTC) #23
qiankun
Remove SetDebugName() API because pulling name is used and the API is useless. @jamesr Could ...
7 years, 4 months ago (2013-08-05 06:52:23 UTC) #24
jamesr
Source/web/ lgtm
7 years, 4 months ago (2013-08-05 17:40:23 UTC) #25
qiankun
Hi enne&jamesr, Rebase to the latest code. I am afraid the new patch needs your ...
7 years, 4 months ago (2013-08-08 07:06:00 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qiankun.miao@intel.com/18473002/79001
7 years, 4 months ago (2013-08-09 18:03:16 UTC) #27
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-09 18:45:23 UTC) #28
qiankun
On 2013/08/09 18:45:23, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 4 months ago (2013-08-10 17:39:45 UTC) #29
enne (OOO)
Still lgtm. You can just go ahead and commit this if that was the only ...
7 years, 4 months ago (2013-08-12 17:26:54 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qiankun.miao@intel.com/18473002/103001
7 years, 4 months ago (2013-08-12 22:05:45 UTC) #31
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-12 22:41:55 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qiankun.miao@intel.com/18473002/130001
7 years, 4 months ago (2013-08-13 10:48:39 UTC) #33
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=1873
7 years, 4 months ago (2013-08-13 12:19:38 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qiankun.miao@intel.com/18473002/130001
7 years, 4 months ago (2013-08-13 16:01:29 UTC) #35
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=1907
7 years, 4 months ago (2013-08-13 17:38:20 UTC) #36
qiankun
On 2013/08/13 17:38:20, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 4 months ago (2013-08-14 17:42:22 UTC) #37
enne (OOO)
On 2013/08/14 17:42:22, qiankun wrote: > On 2013/08/13 17:38:20, I haz the power (commit-bot) wrote: ...
7 years, 4 months ago (2013-08-14 17:47:17 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qiankun.miao@intel.com/18473002/152001
7 years, 4 months ago (2013-08-14 21:35:50 UTC) #39
commit-bot: I haz the power
7 years, 4 months ago (2013-08-14 22:39:28 UTC) #40
Message was sent while issue was closed.
Change committed as 156119

Powered by Google App Engine
This is Rietveld 408576698