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

Side by Side Diff: tracing/tracing/value/ui/scalar_span.html

Issue 3009553002: Refactor Histogram relationship diagnostics. (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved. 3 Copyright 2015 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/base/unit.html"> 8 <link rel="import" href="/tracing/base/unit.html">
9 <link rel="import" href="/tracing/ui/base/deep_utils.html"> 9 <link rel="import" href="/tracing/ui/base/deep_utils.html">
10 <link rel="import" href="/tracing/value/histogram.html"> 10 <link rel="import" href="/tracing/value/histogram.html">
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 132 }
133 #sparkline.better { 133 #sparkline.better {
134 background-color: hsla(115, 100%, 93%, .75); 134 background-color: hsla(115, 100%, 93%, .75);
135 border-color: hsl(118, 60%, 80%); 135 border-color: hsl(118, 60%, 80%);
136 } 136 }
137 #sparkline.worse { 137 #sparkline.worse {
138 background-color: hsla(0, 100%, 88%, .75); 138 background-color: hsla(0, 100%, 88%, .75);
139 border-color: hsl(0, 100%, 80%); 139 border-color: hsl(0, 100%, 80%);
140 } 140 }
141 141
142 #content {
143 white-space: nowrap;
144 }
142 #content, #significance, #warning { 145 #content, #significance, #warning {
143 flex-grow: 0; 146 flex-grow: 0;
144 } 147 }
145 #content.better { 148 #content.better {
146 color: green; 149 color: green;
147 } 150 }
148 #content.worse { 151 #content.worse {
149 color: red; 152 color: red;
150 } 153 }
151 154
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 617
615 set duration(duration) { 618 set duration(duration) {
616 if (duration instanceof tr.b.u.TimeDuration) { 619 if (duration instanceof tr.b.u.TimeDuration) {
617 this.value = duration; 620 this.value = duration;
618 return; 621 return;
619 } 622 }
620 this.setValueAndUnit(duration, tr.b.u.Units.timeDurationInMs); 623 this.setValueAndUnit(duration, tr.b.u.Units.timeDurationInMs);
621 } 624 }
622 }); 625 });
623 </script> 626 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698