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

Issue 3017523002: Fix uses of /deep/ in trace viewer. (Closed)

Created:
3 years, 3 months ago by benjhayden
Modified:
3 years, 2 months ago
Reviewers:
fmeawad, vmpstr
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Fix uses of /deep/ in trace viewer. There are several old modules that use tr.ui.b.define() and /deep/ CSS rules. Support for /deep/ is being removed from Chrome in M63, which will branch in a few weeks. This CL moves all of the /deep/ CSS rules into javascript. This is not the best way to solve this problem. The best way to solve this problem would be to turn all of these old modules into proper Polymer dom-modules: https://github.com/catapult-project/catapult/issues/3058 However, that will be tricky and take time that would be better spent on other things. This CL is a stop-gap. ListAndAssociatedView appears entirely unused, so it is removed. http://www/~benjhayden/3017523002.html BUG=catapult:#1691,chromium:765447

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : remove verticalAlign: -2px #

Patch Set 4 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -810 lines) Patch
M tracing/trace_viewer.gypi View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M tracing/tracing/ui/base/chart_base.html View 1 2 3 2 chunks +1 line, -14 lines 0 comments Download
M tracing/tracing/ui/base/chart_base_2d.html View 5 chunks +14 lines, -10 lines 0 comments Download
M tracing/tracing/ui/base/dom_helpers.html View 2 chunks +3 lines, -8 lines 0 comments Download
D tracing/tracing/ui/base/list_and_associated_view.css View 1 chunk +0 lines, -17 lines 0 comments Download
D tracing/tracing/ui/base/list_and_associated_view.html View 1 chunk +0 lines, -139 lines 0 comments Download
D tracing/tracing/ui/base/list_and_associated_view_test.html View 1 chunk +0 lines, -98 lines 0 comments Download
D tracing/tracing/ui/base/list_view.css View 1 chunk +0 lines, -30 lines 0 comments Download
M tracing/tracing/ui/base/list_view.html View 5 chunks +12 lines, -2 lines 0 comments Download
M tracing/tracing/ui/base/quad_stack_view.html View 1 4 chunks +43 lines, -45 lines 0 comments Download
D tracing/tracing/ui/base/tool_button.css View 1 chunk +0 lines, -17 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/display_item_debugger.html View 5 chunks +44 lines, -84 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/display_item_list_view.css View 1 chunk +0 lines, -9 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/display_item_list_view.html View 2 chunks +4 lines, -4 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/layer_picker.css View 1 chunk +0 lines, -43 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/layer_picker.html View 2 chunks +17 lines, -2 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/layer_tree_host_impl_view.css View 1 chunk +0 lines, -18 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/layer_tree_host_impl_view.html View 3 chunks +11 lines, -3 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html View 1 2 2 chunks +27 lines, -41 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/layer_view.css View 1 chunk +0 lines, -31 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/layer_view.html View 3 chunks +11 lines, -2 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/picture_debugger.html View 4 chunks +40 lines, -68 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_summary_view.css View 1 chunk +0 lines, -18 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_summary_view.html View 3 chunks +12 lines, -3 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.css View 1 chunk +0 lines, -18 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.html View 3 chunks +9 lines, -2 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.css View 1 chunk +0 lines, -62 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html View 6 chunks +30 lines, -2 lines 0 comments Download
D tracing/tracing/ui/extras/chrome/cc/picture_view.css View 1 chunk +0 lines, -9 lines 0 comments Download
M tracing/tracing/ui/extras/chrome/cc/picture_view.html View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
benjhayden
3 years, 3 months ago (2017-09-16 04:56:09 UTC) #16
benjhayden
Friendly ping. :-) This bug needs to be fixed before M63 branches on Oct 12.
3 years, 2 months ago (2017-09-25 04:45:39 UTC) #18
fmeawad
lgtm https://codereview.chromium.org/3017523002/diff/180001/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html File tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html (right): https://codereview.chromium.org/3017523002/diff/180001/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html#newcode197 tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html:197: showAnimationBoundsCheckbox.style.verticalAlign = '-2px'; Can we move -2px into ...
3 years, 2 months ago (2017-09-27 20:51:25 UTC) #19
benjhayden
On 2017/09/27 at 20:51:25, fmeawad wrote: > lgtm > > https://codereview.chromium.org/3017523002/diff/180001/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html > File tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html (right): ...
3 years, 2 months ago (2017-09-27 21:26:15 UTC) #20
fmeawad
Sounds good. Thanks!
3 years, 2 months ago (2017-09-27 21:33:09 UTC) #21
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/3017523002/200001
3 years, 2 months ago (2017-09-27 21:39:37 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Windows%20Tryserver/builds/9002)
3 years, 2 months ago (2017-09-27 22:04:09 UTC) #26
benjhayden
3 years, 2 months ago (2017-09-28 17:04:23 UTC) #27
On 2017/09/27 at 22:04:09, commit-bot wrote:
> Try jobs failed on following builders:
>   Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED,
https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Wi...)

This was caught in the gerrit migration, so can you stamp it there?
https://chromium-review.googlesource.com/c/catapult/+/689742

Powered by Google App Engine
This is Rietveld 408576698