| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 PerfUI.TimelineOverviewPane.Events.WindowChanged, this._onWindowChanged.
bind(this)); | 98 PerfUI.TimelineOverviewPane.Events.WindowChanged, this._onWindowChanged.
bind(this)); |
| 99 this._overviewPane.show(topPaneElement); | 99 this._overviewPane.show(topPaneElement); |
| 100 this._statusPaneContainer = this._timelinePane.element.createChild('div', 's
tatus-pane-container fill'); | 100 this._statusPaneContainer = this._timelinePane.element.createChild('div', 's
tatus-pane-container fill'); |
| 101 | 101 |
| 102 this._createFileSelector(); | 102 this._createFileSelector(); |
| 103 | 103 |
| 104 SDK.targetManager.addEventListener(SDK.TargetManager.Events.PageReloadReques
ted, this._pageReloadRequested, this); | 104 SDK.targetManager.addEventListener(SDK.TargetManager.Events.PageReloadReques
ted, this._pageReloadRequested, this); |
| 105 SDK.targetManager.addEventListener(SDK.TargetManager.Events.Load, this._load
EventFired, this); | 105 SDK.targetManager.addEventListener(SDK.TargetManager.Events.Load, this._load
EventFired, this); |
| 106 | 106 |
| 107 // Create top level properties splitter. | 107 // Create top level properties splitter. |
| 108 this._detailsSplitWidget = new UI.SplitWidget(false, true, 'timelinePanelDet
ailsSplitViewState'); | 108 this._detailsSplitWidget = new UI.SplitWidget(false, true, 'timelinePanelDet
ailsSplitViewState', 400); |
| 109 this._detailsSplitWidget.element.classList.add('timeline-details-split'); | 109 this._detailsSplitWidget.element.classList.add('timeline-details-split'); |
| 110 this._detailsView = | 110 this._detailsView = |
| 111 new Timeline.TimelineDetailsView(this._model, this._frameModel, this._fi
lmStripModel, this._filters, this); | 111 new Timeline.TimelineDetailsView(this._model, this._frameModel, this._fi
lmStripModel, this._filters, this); |
| 112 this._detailsSplitWidget.installResizer(this._detailsView.headerElement()); | 112 this._detailsSplitWidget.installResizer(this._detailsView.headerElement()); |
| 113 this._detailsSplitWidget.setSidebarWidget(this._detailsView); | 113 this._detailsSplitWidget.setSidebarWidget(this._detailsView); |
| 114 | 114 |
| 115 this._searchableView = new UI.SearchableView(this); | 115 this._searchableView = new UI.SearchableView(this); |
| 116 this._searchableView.setMinimumSize(0, 100); | 116 this._searchableView.setMinimumSize(0, 100); |
| 117 this._searchableView.element.classList.add('searchable-view'); | 117 this._searchableView.element.classList.add('searchable-view'); |
| 118 this._detailsSplitWidget.setMainWidget(this._searchableView); | 118 this._detailsSplitWidget.setMainWidget(this._searchableView); |
| (...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1695 }; | 1695 }; |
| 1696 | 1696 |
| 1697 Timeline.TimelinePanel._traceProviderSettingSymbol = Symbol('traceProviderSettin
g'); | 1697 Timeline.TimelinePanel._traceProviderSettingSymbol = Symbol('traceProviderSettin
g'); |
| 1698 | 1698 |
| 1699 /** @enum {symbol} */ | 1699 /** @enum {symbol} */ |
| 1700 Timeline.TimelineFilters.Events = { | 1700 Timeline.TimelineFilters.Events = { |
| 1701 FilterChanged: Symbol('FilterChanged') | 1701 FilterChanged: Symbol('FilterChanged') |
| 1702 }; | 1702 }; |
| 1703 | 1703 |
| 1704 Timeline.TimelineFilters._durationFilterPresetsMs = [0, 1, 15]; | 1704 Timeline.TimelineFilters._durationFilterPresetsMs = [0, 1, 15]; |
| OLD | NEW |