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

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

Issue 185713007: DevTools: Add timestamp support in the console (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed apavlov's comments Created 6 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 | Annotate | Revision Log
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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 var message = new WebInspector.ConsoleMessage( 724 var message = new WebInspector.ConsoleMessage(
725 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI, 725 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI,
726 WebInspector.ConsoleMessage.MessageLevel.Debug, 726 WebInspector.ConsoleMessage.MessageLevel.Debug,
727 messageText, 727 messageText,
728 type, 728 type,
729 undefined, 729 undefined,
730 undefined, 730 undefined,
731 undefined, 731 undefined,
732 undefined, 732 undefined,
733 undefined, 733 undefined,
734 undefined,
735 [{ 734 [{
736 functionName: "", 735 functionName: "",
737 scriptId: scriptLocation.scriptId, 736 scriptId: scriptLocation.scriptId,
738 url: script ? script.contentURL() : "", 737 url: script ? script.contentURL() : "",
739 lineNumber: scriptLocation.lineNumber, 738 lineNumber: scriptLocation.lineNumber,
740 columnNumber: scriptLocation.columnNumber || 0 739 columnNumber: scriptLocation.columnNumber || 0
741 }]); 740 }]);
742 741
743 WebInspector.console.addMessage(message); 742 WebInspector.console.addMessage(message);
744 }, 743 },
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 1385
1387 /** 1386 /**
1388 * @param {number} entryIndex 1387 * @param {number} entryIndex
1389 * @return {!string} 1388 * @return {!string}
1390 */ 1389 */
1391 textColor: function(entryIndex) 1390 textColor: function(entryIndex)
1392 { 1391 {
1393 return "#333"; 1392 return "#333";
1394 } 1393 }
1395 } 1394 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698