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

Side by Side Diff: tracing/tracing/base/color_scheme.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: rebase Created 3 years, 4 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
« no previous file with comments | « tracing/trace_viewer.gypi ('k') | tracing/tracing/base/extension_registry.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. 3 Copyright (c) 2014 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 <link rel="import" href="/tracing/base/base.html"> 7 <link rel="import" href="/tracing/base/base.html">
8 <link rel="import" href="/tracing/base/color.html"> 8 <link rel="import" href="/tracing/base/color.html">
9 <link rel="import" href="/tracing/base/iteration_helpers.html"> 9 <link rel="import" href="/tracing/base/utils.html">
10 <script> 10 <script>
11 'use strict'; 11 'use strict';
12 12
13 /** 13 /**
14 * @fileoverview Provides color scheme related functions. 14 * @fileoverview Provides color scheme related functions.
15 */ 15 */
16 tr.exportTo('tr.b', function() { 16 tr.exportTo('tr.b', function() {
17 // Basic constants... 17 // Basic constants...
18 const generalPurposeColors = [ 18 const generalPurposeColors = [
19 new tr.b.Color(122, 98, 135), 19 new tr.b.Color(122, 98, 135),
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 */ 250 */
251 ColorScheme.getVariantColorId = function(colorId, offset) { 251 ColorScheme.getVariantColorId = function(colorId, offset) {
252 return colorId + offset; 252 return colorId + offset;
253 }; 253 };
254 254
255 return { 255 return {
256 ColorScheme, 256 ColorScheme,
257 }; 257 };
258 }); 258 });
259 </script> 259 </script>
OLDNEW
« no previous file with comments | « tracing/trace_viewer.gypi ('k') | tracing/tracing/base/extension_registry.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698