OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 this._millisecondsToRecordAfterLoadEvent = 3000; | 51 this._millisecondsToRecordAfterLoadEvent = 3000; |
52 this._toggleRecordAction = | 52 this._toggleRecordAction = |
53 /** @type {!UI.Action }*/ (UI.actionRegistry.action('timeline.toggle-rec
ording')); | 53 /** @type {!UI.Action }*/ (UI.actionRegistry.action('timeline.toggle-rec
ording')); |
54 | 54 |
55 /** @type {!Array<!TimelineModel.TimelineModelFilter>} */ | 55 /** @type {!Array<!TimelineModel.TimelineModelFilter>} */ |
56 this._filters = []; | 56 this._filters = []; |
57 if (!Runtime.experiments.isEnabled('timelineShowAllEvents')) { | 57 if (!Runtime.experiments.isEnabled('timelineShowAllEvents')) { |
58 this._filters.push(Timeline.TimelineUIUtils.visibleEventsFilter()); | 58 this._filters.push(Timeline.TimelineUIUtils.visibleEventsFilter()); |
59 this._filters.push(new TimelineModel.ExcludeTopLevelFilter()); | 59 this._filters.push(new TimelineModel.ExcludeTopLevelFilter()); |
60 } | 60 } |
| 61 if (!Runtime.experiments.isEnabled('timelinePaintTimingMarkers')) |
| 62 this._filters.push(Timeline.TimelineUIUtils.paintEventsFilter()); |
61 | 63 |
62 /** @type {?Timeline.PerformanceModel} */ | 64 /** @type {?Timeline.PerformanceModel} */ |
63 this._performanceModel = null; | 65 this._performanceModel = null; |
64 /** @type {?Timeline.PerformanceModel} */ | 66 /** @type {?Timeline.PerformanceModel} */ |
65 this._pendingPerformanceModel = null; | 67 this._pendingPerformanceModel = null; |
66 | 68 |
67 this._cpuThrottlingManager = new Components.CPUThrottlingManager(); | 69 this._cpuThrottlingManager = new Components.CPUThrottlingManager(); |
68 | 70 |
69 this._viewModeSetting = | 71 this._viewModeSetting = |
70 Common.settings.createSetting('timelineViewMode', Timeline.TimelinePanel
.ViewMode.FlameChart); | 72 Common.settings.createSetting('timelineViewMode', Timeline.TimelinePanel
.ViewMode.FlameChart); |
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 return true; | 1303 return true; |
1302 case 'timeline.jump-to-next-frame': | 1304 case 'timeline.jump-to-next-frame': |
1303 panel._jumpToFrame(1); | 1305 panel._jumpToFrame(1); |
1304 return true; | 1306 return true; |
1305 } | 1307 } |
1306 return false; | 1308 return false; |
1307 } | 1309 } |
1308 }; | 1310 }; |
1309 | 1311 |
1310 Timeline.TimelinePanel._traceProviderSettingSymbol = Symbol('traceProviderSettin
g'); | 1312 Timeline.TimelinePanel._traceProviderSettingSymbol = Symbol('traceProviderSettin
g'); |
OLD | NEW |