OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 this._filters = filters; | 44 this._filters = filters; |
45 /** @type {?PerfUI.FlameChart.TimelineData} */ | 45 /** @type {?PerfUI.FlameChart.TimelineData} */ |
46 this._timelineData = null; | 46 this._timelineData = null; |
47 this._currentLevel = 0; | 47 this._currentLevel = 0; |
48 /** @type {?Timeline.PerformanceModel} */ | 48 /** @type {?Timeline.PerformanceModel} */ |
49 this._performanceModel = null; | 49 this._performanceModel = null; |
50 /** @type {?TimelineModel.TimelineModel} */ | 50 /** @type {?TimelineModel.TimelineModel} */ |
51 this._model = null; | 51 this._model = null; |
52 | 52 |
53 this._consoleColorGenerator = | 53 this._consoleColorGenerator = |
54 new PerfUI.FlameChart.ColorGenerator({min: 30, max: 55}, {min: 70, max:
100, count: 6}, 50, 0.7); | 54 new Common.Color.Generator({min: 30, max: 55}, {min: 70, max: 100, count
: 6}, 50, 0.7); |
55 this._extensionColorGenerator = | 55 this._extensionColorGenerator = |
56 new PerfUI.FlameChart.ColorGenerator({min: 210, max: 300}, {min: 70, max
: 100, count: 6}, 70, 0.7); | 56 new Common.Color.Generator({min: 210, max: 300}, {min: 70, max: 100, cou
nt: 6}, 70, 0.7); |
57 | 57 |
58 /** | 58 /** |
59 * @param {!Object} extra | 59 * @param {!Object} extra |
60 * @return {!PerfUI.FlameChart.GroupStyle} | 60 * @return {!PerfUI.FlameChart.GroupStyle} |
61 */ | 61 */ |
62 function buildGroupStyle(extra) { | 62 function buildGroupStyle(extra) { |
63 var defaultGroupStyle = { | 63 var defaultGroupStyle = { |
64 padding: 4, | 64 padding: 4, |
65 height: 17, | 65 height: 17, |
66 collapsible: true, | 66 collapsible: true, |
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 }; | 1012 }; |
1013 | 1013 |
1014 /** @enum {symbol} */ | 1014 /** @enum {symbol} */ |
1015 Timeline.TimelineFlameChartDataProvider.EntryType = { | 1015 Timeline.TimelineFlameChartDataProvider.EntryType = { |
1016 Frame: Symbol('Frame'), | 1016 Frame: Symbol('Frame'), |
1017 Event: Symbol('Event'), | 1017 Event: Symbol('Event'), |
1018 InteractionRecord: Symbol('InteractionRecord'), | 1018 InteractionRecord: Symbol('InteractionRecord'), |
1019 ExtensionEvent: Symbol('ExtensionEvent'), | 1019 ExtensionEvent: Symbol('ExtensionEvent'), |
1020 Screenshot: Symbol('Screenshot'), | 1020 Screenshot: Symbol('Screenshot'), |
1021 }; | 1021 }; |
OLD | NEW |