| 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 if (isFrameMode) { | 593 if (isFrameMode) { |
| 594 this._frameOverview = new WebInspector.TimelineFrameOverview(this._m
odel, this._frameModel()); | 594 this._frameOverview = new WebInspector.TimelineFrameOverview(this._m
odel, this._frameModel()); |
| 595 this._frameOverview.addEventListener(WebInspector.TimelineFrameOverv
iew.Events.SelectionChanged, this._onOverviewSelectionChanged, this); | 595 this._frameOverview.addEventListener(WebInspector.TimelineFrameOverv
iew.Events.SelectionChanged, this._onOverviewSelectionChanged, this); |
| 596 this._overviewControls.push(this._frameOverview); | 596 this._overviewControls.push(this._frameOverview); |
| 597 } else { | 597 } else { |
| 598 this._frameOverview = null; | 598 this._frameOverview = null; |
| 599 if (Runtime.experiments.isEnabled("inputEventsOnTimelineOverview")) | 599 if (Runtime.experiments.isEnabled("inputEventsOnTimelineOverview")) |
| 600 this._overviewControls.push(new WebInspector.TimelineEventOvervi
ew.Input(this._model)); | 600 this._overviewControls.push(new WebInspector.TimelineEventOvervi
ew.Input(this._model)); |
| 601 this._overviewControls.push(new WebInspector.TimelineEventOverview.R
esponsiveness(this._model, this._frameModel())); | 601 this._overviewControls.push(new WebInspector.TimelineEventOverview.R
esponsiveness(this._model, this._frameModel())); |
| 602 this._overviewControls.push(new WebInspector.TimelineEventOverview.F
rames(this._model, this._frameModel())); | 602 this._overviewControls.push(new WebInspector.TimelineEventOverview.F
rames(this._model, this._frameModel())); |
| 603 this._overviewControls.push(new WebInspector.TimelineEventOverview.M
ainThread(this._model)); | 603 this._overviewControls.push(new WebInspector.TimelineEventOverview.C
PUActivity(this._model)); |
| 604 this._overviewControls.push(new WebInspector.TimelineEventOverview.N
etwork(this._model)); | 604 this._overviewControls.push(new WebInspector.TimelineEventOverview.N
etwork(this._model)); |
| 605 } | 605 } |
| 606 this.element.classList.toggle("timeline-overview-frames-mode", isFrameMo
de); | 606 this.element.classList.toggle("timeline-overview-frames-mode", isFrameMo
de); |
| 607 | 607 |
| 608 if (this._flameChartEnabledSetting.get()) { | 608 if (this._flameChartEnabledSetting.get()) { |
| 609 this._filterBar.filterButton().setEnabled(false); | 609 this._filterBar.filterButton().setEnabled(false); |
| 610 this._filterBar.filtersElement().classList.toggle("hidden", true); | 610 this._filterBar.filtersElement().classList.toggle("hidden", true); |
| 611 this._flameChart = new WebInspector.TimelineFlameChartView(this, thi
s._model, this._frameModel()); | 611 this._flameChart = new WebInspector.TimelineFlameChartView(this, thi
s._model, this._frameModel()); |
| 612 this._flameChart.enableNetworkPane(this._captureNetworkSetting.get()
); | 612 this._flameChart.enableNetworkPane(this._captureNetworkSetting.get()
); |
| 613 this._addModeView(this._flameChart); | 613 this._addModeView(this._flameChart); |
| (...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1792 /** | 1792 /** |
| 1793 * @override | 1793 * @override |
| 1794 * @param {string} value | 1794 * @param {string} value |
| 1795 */ | 1795 */ |
| 1796 handleQueryParam: function(value) | 1796 handleQueryParam: function(value) |
| 1797 { | 1797 { |
| 1798 WebInspector.TimelinePanel.show(); | 1798 WebInspector.TimelinePanel.show(); |
| 1799 WebInspector.TimelinePanel.instance()._loadFromURL(value); | 1799 WebInspector.TimelinePanel.instance()._loadFromURL(value); |
| 1800 } | 1800 } |
| 1801 } | 1801 } |
| OLD | NEW |