| 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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 delete this._selection; | 685 delete this._selection; |
| 686 this._frameModel.reset(); | 686 this._frameModel.reset(); |
| 687 this._overviewPane.reset(); | 687 this._overviewPane.reset(); |
| 688 for (var i = 0; i < this._currentViews.length; ++i) | 688 for (var i = 0; i < this._currentViews.length; ++i) |
| 689 this._currentViews[i].reset(); | 689 this._currentViews[i].reset(); |
| 690 for (var i = 0; i < this._overviewControls.length; ++i) | 690 for (var i = 0; i < this._overviewControls.length; ++i) |
| 691 this._overviewControls[i].reset(); | 691 this._overviewControls[i].reset(); |
| 692 this.select(null); | 692 this.select(null); |
| 693 delete this._filmStripModel; | 693 delete this._filmStripModel; |
| 694 this._detailsSplitWidget.hideSidebar(); | 694 this._detailsSplitWidget.hideSidebar(); |
| 695 WebInspector.TimelineJSProfileProcessor.resetLineLevelProfiles(); |
| 695 }, | 696 }, |
| 696 | 697 |
| 697 /** | 698 /** |
| 698 * @override | 699 * @override |
| 699 */ | 700 */ |
| 700 recordingStarted: function() | 701 recordingStarted: function() |
| 701 { | 702 { |
| 702 this._clear(); | 703 this._clear(); |
| 703 this._setState(WebInspector.TimelinePanel.State.Recording); | 704 this._setState(WebInspector.TimelinePanel.State.Recording); |
| 704 this._showRecordingStarted(); | 705 this._showRecordingStarted(); |
| (...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2159 * @override | 2160 * @override |
| 2160 * @param {!WebInspector.Target} target | 2161 * @param {!WebInspector.Target} target |
| 2161 */ | 2162 */ |
| 2162 targetRemoved: function(target) | 2163 targetRemoved: function(target) |
| 2163 { | 2164 { |
| 2164 this._targets.remove(target, true); | 2165 this._targets.remove(target, true); |
| 2165 }, | 2166 }, |
| 2166 | 2167 |
| 2167 __proto__: WebInspector.Object.prototype | 2168 __proto__: WebInspector.Object.prototype |
| 2168 } | 2169 } |
| OLD | NEW |