| 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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 if (isFrameMode) { | 599 if (isFrameMode) { |
| 600 this._frameOverview = new WebInspector.TimelineFrameOverview(this._m
odel, this._frameModel()); | 600 this._frameOverview = new WebInspector.TimelineFrameOverview(this._m
odel, this._frameModel()); |
| 601 this._frameOverview.addEventListener(WebInspector.TimelineFrameOverv
iew.Events.SelectionChanged, this._onOverviewSelectionChanged, this); | 601 this._frameOverview.addEventListener(WebInspector.TimelineFrameOverv
iew.Events.SelectionChanged, this._onOverviewSelectionChanged, this); |
| 602 this._overviewControls.push(this._frameOverview); | 602 this._overviewControls.push(this._frameOverview); |
| 603 } else { | 603 } else { |
| 604 this._frameOverview = null; | 604 this._frameOverview = null; |
| 605 if (Runtime.experiments.isEnabled("inputEventsOnTimelineOverview")) | 605 if (Runtime.experiments.isEnabled("inputEventsOnTimelineOverview")) |
| 606 this._overviewControls.push(new WebInspector.TimelineEventOvervi
ew.Input(this._model)); | 606 this._overviewControls.push(new WebInspector.TimelineEventOvervi
ew.Input(this._model)); |
| 607 this._overviewControls.push(new WebInspector.TimelineEventOverview.N
etwork(this._model)); | 607 this._overviewControls.push(new WebInspector.TimelineEventOverview.N
etwork(this._model)); |
| 608 this._overviewControls.push(new WebInspector.TimelineEventOverview.M
ainThread(this._model)); | 608 this._overviewControls.push(new WebInspector.TimelineEventOverview.M
ainThread(this._model)); |
| 609 this._overviewControls.push(new WebInspector.TimelineEventOverview.O
therThreads(this._model)); | |
| 610 this._overviewControls.push(new WebInspector.TimelineEventOverview.R
esponsiveness(this._model, this._frameModel())); | |
| 611 this._overviewControls.push(new WebInspector.TimelineEventOverview.F
rames(this._model, this._frameModel())); | 609 this._overviewControls.push(new WebInspector.TimelineEventOverview.F
rames(this._model, this._frameModel())); |
| 612 } | 610 } |
| 613 this.element.classList.toggle("timeline-overview-frames-mode", isFrameMo
de); | 611 this.element.classList.toggle("timeline-overview-frames-mode", isFrameMo
de); |
| 614 | 612 |
| 615 if (this._flameChartEnabledSetting.get()) { | 613 if (this._flameChartEnabledSetting.get()) { |
| 616 this._filterBar.filterButton().setEnabled(false); | 614 this._filterBar.filterButton().setEnabled(false); |
| 617 this._filterBar.filtersElement().classList.toggle("hidden", true); | 615 this._filterBar.filtersElement().classList.toggle("hidden", true); |
| 618 this._flameChart = new WebInspector.TimelineFlameChartView(this, thi
s._model, this._frameModel()); | 616 this._flameChart = new WebInspector.TimelineFlameChartView(this, thi
s._model, this._frameModel()); |
| 619 this._flameChart.enableNetworkPane(this._captureNetworkSetting.get()
); | 617 this._flameChart.enableNetworkPane(this._captureNetworkSetting.get()
); |
| 620 this._addModeView(this._flameChart); | 618 this._addModeView(this._flameChart); |
| (...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1876 */ | 1874 */ |
| 1877 reset: function() | 1875 reset: function() |
| 1878 { | 1876 { |
| 1879 this._filmStripView.reset(); | 1877 this._filmStripView.reset(); |
| 1880 this._lastFrame = null; | 1878 this._lastFrame = null; |
| 1881 this._lastElement = null; | 1879 this._lastElement = null; |
| 1882 }, | 1880 }, |
| 1883 | 1881 |
| 1884 __proto__: WebInspector.TimelineOverviewBase.prototype | 1882 __proto__: WebInspector.TimelineOverviewBase.prototype |
| 1885 } | 1883 } |
| OLD | NEW |