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

Side by Side Diff: Source/devtools/front_end/TimelinePanel.js

Issue 212953003: TimelinePanel: provide scriptId in FunctionCall event. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minor change Created 6 years, 8 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 | Annotate | Revision Log
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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 } 912 }
913 913
914 for (var i = 0; i < this._currentViews.length; ++i) { 914 for (var i = 0; i < this._currentViews.length; ++i) {
915 var view = this._currentViews[i]; 915 var view = this._currentViews[i];
916 view.setSelectedRecord(record); 916 view.setSelectedRecord(record);
917 } 917 }
918 if (!record) { 918 if (!record) {
919 this._updateSelectionDetails(); 919 this._updateSelectionDetails();
920 return; 920 return;
921 } 921 }
922 WebInspector.TimelineUIUtils.generatePopupContent(record, this._detailsL inkifier, showCallback.bind(this)); 922 WebInspector.TimelineUIUtils.generatePopupContent(record, this._detailsL inkifier, showCallback.bind(this), this._model.loadedFromFile());
923 923
924 /** 924 /**
925 * @param {!DocumentFragment} element 925 * @param {!DocumentFragment} element
926 * @this {WebInspector.TimelinePanel} 926 * @this {WebInspector.TimelinePanel}
927 */ 927 */
928 function showCallback(element) 928 function showCallback(element)
929 { 929 {
930 this._detailsView.setContent(record.title(), element); 930 this._detailsView.setContent(record.title(), element);
931 } 931 }
932 }, 932 },
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 * @param {!WebInspector.TimelineModel.Record} record 1185 * @param {!WebInspector.TimelineModel.Record} record
1186 * @return {boolean} 1186 * @return {boolean}
1187 */ 1187 */
1188 accept: function(record) 1188 accept: function(record)
1189 { 1189 {
1190 return !this._hiddenRecords[record.type]; 1190 return !this._hiddenRecords[record.type];
1191 }, 1191 },
1192 1192
1193 __proto__: WebInspector.TimelineModel.Filter.prototype 1193 __proto__: WebInspector.TimelineModel.Filter.prototype
1194 } 1194 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TimelineModel.js ('k') | Source/devtools/front_end/TimelineUIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698