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

Side by Side Diff: tracing/tracing/ui/tracks/cpu_usage_track.html

Issue 2526613002: Return short-hand object literals to exportTo. (Closed)
Patch Set: . Created 4 years 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 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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698