Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js

Issue 1748993002: DevTools: Initial implementation of line-level CPU profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add decorators Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 700
701 _onClearButtonClick: function() 701 _onClearButtonClick: function()
702 { 702 {
703 this._tracingModel.reset(); 703 this._tracingModel.reset();
704 this._model.reset(); 704 this._model.reset();
705 this._showRecordingHelpMessage(); 705 this._showRecordingHelpMessage();
706 }, 706 },
707 707
708 _onRecordsCleared: function() 708 _onRecordsCleared: function()
709 { 709 {
710 WebInspector.TimelineJSProfileProcessor.resetLineLevelProfiles();
pfeldman 2016/03/02 19:48:59 Lets split this change?
alph 2016/03/03 02:02:52 Let me try to make it within the CL.
710 this.requestWindowTimes(0, Infinity); 711 this.requestWindowTimes(0, Infinity);
711 delete this._selection; 712 delete this._selection;
712 this._frameModel.reset(); 713 this._frameModel.reset();
713 this._overviewPane.reset(); 714 this._overviewPane.reset();
714 for (var i = 0; i < this._currentViews.length; ++i) 715 for (var i = 0; i < this._currentViews.length; ++i)
715 this._currentViews[i].reset(); 716 this._currentViews[i].reset();
716 for (var i = 0; i < this._overviewControls.length; ++i) 717 for (var i = 0; i < this._overviewControls.length; ++i)
717 this._overviewControls[i].reset(); 718 this._overviewControls[i].reset();
718 this.select(null); 719 this.select(null);
719 delete this._filmStripModel; 720 delete this._filmStripModel;
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 * @override 2117 * @override
2117 * @param {!WebInspector.Target} target 2118 * @param {!WebInspector.Target} target
2118 */ 2119 */
2119 targetRemoved: function(target) 2120 targetRemoved: function(target)
2120 { 2121 {
2121 this._targets.remove(target, true); 2122 this._targets.remove(target, true);
2122 }, 2123 },
2123 2124
2124 __proto__: WebInspector.Object.prototype 2125 __proto__: WebInspector.Object.prototype
2125 } 2126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698