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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js

Issue 1666563005: DevTools: merge ScriptCallStack and ScriptAsyncCallStack, move CallStacks from console to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 var message = new WebInspector.ConsoleMessage( 494 var message = new WebInspector.ConsoleMessage(
495 target, 495 target,
496 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI, 496 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI,
497 WebInspector.ConsoleMessage.MessageLevel.Debug, 497 WebInspector.ConsoleMessage.MessageLevel.Debug,
498 messageText, 498 messageText,
499 type, 499 type,
500 undefined, 500 undefined,
501 undefined, 501 undefined,
502 undefined, 502 undefined,
503 undefined, 503 undefined,
504 undefined,
505 [{ 504 [{
506 functionName: "", 505 functionName: "",
507 scriptId: scriptLocation.scriptId, 506 scriptId: scriptLocation.scriptId,
508 url: script ? script.contentURL() : "", 507 url: script ? script.contentURL() : "",
509 lineNumber: scriptLocation.lineNumber, 508 lineNumber: scriptLocation.lineNumber,
510 columnNumber: scriptLocation.columnNumber || 0 509 columnNumber: scriptLocation.columnNumber || 0
511 }]); 510 }]);
512 511
513 target.consoleModel.addMessage(message); 512 target.consoleModel.addMessage(message);
514 }, 513 },
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 _notifyTempFileReady: function() 816 _notifyTempFileReady: function()
818 { 817 {
819 if (this._onTempFileReady) { 818 if (this._onTempFileReady) {
820 this._onTempFileReady(); 819 this._onTempFileReady();
821 this._onTempFileReady = null; 820 this._onTempFileReady = null;
822 } 821 }
823 }, 822 },
824 823
825 __proto__: WebInspector.ProfileHeader.prototype 824 __proto__: WebInspector.ProfileHeader.prototype
826 } 825 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698