OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |