| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2015 The Chromium Authors. All rights reserved. | 3 Copyright (c) 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/event.html"> | 8 <link rel="import" href="/tracing/base/event.html"> |
| 9 <link rel="import" href="/tracing/base/iteration_helpers.html"> | |
| 10 <link rel="import" href="/tracing/base/sinebow_color_generator.html"> | 9 <link rel="import" href="/tracing/base/sinebow_color_generator.html"> |
| 10 <link rel="import" href="/tracing/base/utils.html"> |
| 11 | 11 |
| 12 <script> | 12 <script> |
| 13 'use strict'; | 13 'use strict'; |
| 14 | 14 |
| 15 tr.exportTo('tr.e.chrome', function() { | 15 tr.exportTo('tr.e.chrome', function() { |
| 16 const SAME_AS_PARENT = 'same-as-parent'; | 16 const SAME_AS_PARENT = 'same-as-parent'; |
| 17 | 17 |
| 18 const TITLES_FOR_USER_FRIENDLY_CATEGORY = { | 18 const TITLES_FOR_USER_FRIENDLY_CATEGORY = { |
| 19 composite: [ | 19 composite: [ |
| 20 'CompositingInputsUpdater::update', | 20 'CompositingInputsUpdater::update', |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // order. | 207 // order. |
| 208 for (const category of ChromeUserFriendlyCategoryDriver.ALL_TITLES) { | 208 for (const category of ChromeUserFriendlyCategoryDriver.ALL_TITLES) { |
| 209 ChromeUserFriendlyCategoryDriver.getColor(category); | 209 ChromeUserFriendlyCategoryDriver.getColor(category); |
| 210 } | 210 } |
| 211 | 211 |
| 212 return { | 212 return { |
| 213 ChromeUserFriendlyCategoryDriver, | 213 ChromeUserFriendlyCategoryDriver, |
| 214 }; | 214 }; |
| 215 }); | 215 }); |
| 216 </script> | 216 </script> |
| OLD | NEW |