| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2016 The Chromium Authors. All rights reserved. | 3 Copyright 2016 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/color_scheme.html"> | 8 <link rel="import" href="/tracing/base/color_scheme.html"> |
| 9 <link rel="import" href="/tracing/ui/base/ui.html"> | 9 <link rel="import" href="/tracing/ui/base/ui.html"> |
| 10 <link rel="import" href="/tracing/ui/tracks/chart_point.html"> | 10 <link rel="import" href="/tracing/ui/tracks/chart_point.html"> |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 var renderingConfig = { | 174 var renderingConfig = { |
| 175 chartType: tr.ui.tracks.ChartSeriesType.AREA, | 175 chartType: tr.ui.tracks.ChartSeriesType.AREA, |
| 176 colorId: ColorScheme.getColorIdForGeneralPurposeString(this.heading) | 176 colorId: ColorScheme.getColorIdForGeneralPurposeString(this.heading) |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 return [new tr.ui.tracks.ChartSeries(pts, seriesYAxis, renderingConfig)]; | 179 return [new tr.ui.tracks.ChartSeries(pts, seriesYAxis, renderingConfig)]; |
| 180 } | 180 } |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 return { | 183 return { |
| 184 CpuUsageTrack: CpuUsageTrack | 184 CpuUsageTrack, |
| 185 }; | 185 }; |
| 186 }); | 186 }); |
| 187 </script> | 187 </script> |
| OLD | NEW |