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

Issue 2413693002: Rename DOM.getLayoutTreeNodes to CSS.getLayoutTreeAndStyles (Closed)

Created:
4 years, 2 months ago by alex clarke (OOO till 29th)
Modified:
4 years, 2 months ago
Reviewers:
dgozman, Sami, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CSS.getLayoutTreeAndStyles will also return whitelisted computed styles. This functionality is needed by headless chrome. BUG=546953 Committed: https://crrev.com/00fb6e725b5a430daf992402acba94be93aa0412 Cr-Commit-Position: refs/heads/master@{#426187}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Changes for dgozman #

Patch Set 3 : rebased #

Total comments: 13

Patch Set 4 : More changes for dgozman #

Patch Set 5 : Fix iframe path and drop font-family from test since it's different on mac #

Messages

Total messages: 40 (27 generated)
alex clarke (OOO till 29th)
PTAL
4 years, 2 months ago (2016-10-12 13:39:11 UTC) #4
dgozman
https://codereview.chromium.org/2413693002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/2413693002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp#newcode612 third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp:612: new protocol::Array<protocol::DOM::ComputedStyle>(std::move(styles))); Can just use addItem above, directly constructing ...
4 years, 2 months ago (2016-10-12 21:00:40 UTC) #7
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/2413693002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/2413693002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp#newcode612 third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp:612: new protocol::Array<protocol::DOM::ComputedStyle>(std::move(styles))); On 2016/10/12 21:00:40, dgozman wrote: > ...
4 years, 2 months ago (2016-10-13 20:25:10 UTC) #9
dgozman
https://codereview.chromium.org/2413693002/diff/1/third_party/WebKit/Source/platform/inspector_protocol/lib/Array_h.template File third_party/WebKit/Source/platform/inspector_protocol/lib/Array_h.template (right): https://codereview.chromium.org/2413693002/diff/1/third_party/WebKit/Source/platform/inspector_protocol/lib/Array_h.template#newcode45 third_party/WebKit/Source/platform/inspector_protocol/lib/Array_h.template:45: Array() {} On 2016/10/13 20:25:10, alex clarke wrote: > ...
4 years, 2 months ago (2016-10-14 01:32:34 UTC) #17
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/2413693002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp (right): https://codereview.chromium.org/2413693002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp#newcode2380 third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp:2380: for (ComputedStylesMap::value_type& pair : styleToIndexMap) { On 2016/10/14 ...
4 years, 2 months ago (2016-10-14 11:45:01 UTC) #18
alex clarke (OOO till 29th)
PTAL :)
4 years, 2 months ago (2016-10-17 15:58:06 UTC) #28
alex clarke (OOO till 29th)
Ping :)
4 years, 2 months ago (2016-10-18 09:17:14 UTC) #29
dgozman
Sorry for delay! lgtm https://codereview.chromium.org/2413693002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp (right): https://codereview.chromium.org/2413693002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp#newcode2403 third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp:2403: style.push_back( > I believe this ...
4 years, 2 months ago (2016-10-19 00:33:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2413693002/80001
4 years, 2 months ago (2016-10-19 09:30:43 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/319423)
4 years, 2 months ago (2016-10-19 13:29:05 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2413693002/80001
4 years, 2 months ago (2016-10-19 13:42:35 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-19 14:56:14 UTC) #38
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:08:18 UTC) #40
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/00fb6e725b5a430daf992402acba94be93aa0412
Cr-Commit-Position: refs/heads/master@{#426187}

Powered by Google App Engine
This is Rietveld 408576698