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

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

Issue 185713007: DevTools: Add timestamp support in the console (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Up for review 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 var level = (wasThrown ? WebInspector.ConsoleMessage.MessageLevel.Error : WebInspector.ConsoleMessage.MessageLevel.Log); 271 var level = (wasThrown ? WebInspector.ConsoleMessage.MessageLevel.Error : WebInspector.ConsoleMessage.MessageLevel.Log);
272 var message = new WebInspector.ConsoleMessage( 272 var message = new WebInspector.ConsoleMessage(
273 WebInspector.ConsoleMessage.MessageSource.JS, 273 WebInspector.ConsoleMessage.MessageSource.JS,
274 level, 274 level,
275 "", 275 "",
276 undefined, 276 undefined,
277 undefined, 277 undefined,
278 undefined, 278 undefined,
279 undefined, 279 undefined,
280 undefined, 280 undefined,
281 undefined,
282 [result]); 281 [result]);
283 WebInspector.console.addMessage(message); 282 WebInspector.console.addMessage(message);
284 }, 283 },
285 284
286 /** 285 /**
287 * @param {!WebInspector.DebuggerModel.Location} rawLocation 286 * @param {!WebInspector.DebuggerModel.Location} rawLocation
288 * @return {?WebInspector.UILocation} 287 * @return {?WebInspector.UILocation}
289 */ 288 */
290 _rawLocationToUILocation: function(rawLocation) 289 _rawLocationToUILocation: function(rawLocation)
291 { 290 {
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 this._model.deleteScriptSnippet(path); 690 this._model.deleteScriptSnippet(path);
692 }, 691 },
693 692
694 __proto__: WebInspector.ContentProviderBasedProjectDelegate.prototype 693 __proto__: WebInspector.ContentProviderBasedProjectDelegate.prototype
695 } 694 }
696 695
697 /** 696 /**
698 * @type {!WebInspector.ScriptSnippetModel} 697 * @type {!WebInspector.ScriptSnippetModel}
699 */ 698 */
700 WebInspector.scriptSnippetModel; 699 WebInspector.scriptSnippetModel;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698