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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 return this._lazyPaintProfilerView; | 262 return this._lazyPaintProfilerView; |
263 }, | 263 }, |
264 | 264 |
265 /** | 265 /** |
266 * @param {!WebInspector.TimelineModeView} modeView | 266 * @param {!WebInspector.TimelineModeView} modeView |
267 */ | 267 */ |
268 _addModeView: function(modeView) | 268 _addModeView: function(modeView) |
269 { | 269 { |
270 modeView.setWindowTimes(this.windowStartTime(), this.windowEndTime()); | 270 modeView.setWindowTimes(this.windowStartTime(), this.windowEndTime()); |
271 modeView.refreshRecords(this._textFilter._regex); | 271 modeView.refreshRecords(this._textFilter._regex); |
272 this._stackView.appendView(modeView.view(), "timelinePanelTimelineStackS
plitViewState"); | 272 this._stackView.appendView(modeView.view(), "timelinePanelTimelineStackS
plitViewState", undefined, 112); |
273 modeView.view().addEventListener(WebInspector.SplitWidget.Events.Sidebar
SizeChanged, this._sidebarResized, this); | 273 modeView.view().addEventListener(WebInspector.SplitWidget.Events.Sidebar
SizeChanged, this._sidebarResized, this); |
274 this._currentViews.push(modeView); | 274 this._currentViews.push(modeView); |
275 }, | 275 }, |
276 | 276 |
277 _removeAllModeViews: function() | 277 _removeAllModeViews: function() |
278 { | 278 { |
279 for (var i = 0; i < this._currentViews.length; ++i) { | 279 for (var i = 0; i < this._currentViews.length; ++i) { |
280 this._currentViews[i].removeEventListener(WebInspector.SplitWidget.E
vents.SidebarSizeChanged, this._sidebarResized, this); | 280 this._currentViews[i].removeEventListener(WebInspector.SplitWidget.E
vents.SidebarSizeChanged, this._sidebarResized, this); |
281 this._currentViews[i].dispose(); | 281 this._currentViews[i].dispose(); |
282 } | 282 } |
(...skipping 1509 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 |