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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js

Issue 2474073005: DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: Created 4 years, 1 month 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 525
526 /** 526 /**
527 * @enum {string} 527 * @enum {string}
528 */ 528 */
529 WebInspector.ConsoleMessage.MessageLevel = { 529 WebInspector.ConsoleMessage.MessageLevel = {
530 Log: 'log', 530 Log: 'log',
531 Info: 'info', 531 Info: 'info',
532 Warning: 'warning', 532 Warning: 'warning',
533 Error: 'error', 533 Error: 'error',
534 Debug: 'debug', 534 Debug: 'debug',
535 RevokedError: 'revokedError' // This is frontend-only level, used to put exce ptions to console. 535 Violation: 'violation',
536 RevokedError: 'revokedError' // This is frontend-only level, used to put exce ptions to console.,
caseq 2016/11/04 20:58:59 remove ,
pfeldman 2016/11/04 21:26:39 Done.
536 }; 537 };
537 538
538 539
539 /** 540 /**
540 * @implements {Protocol.LogDispatcher} 541 * @implements {Protocol.LogDispatcher}
541 * @unrestricted 542 * @unrestricted
542 */ 543 */
543 WebInspector.LogDispatcher = class { 544 WebInspector.LogDispatcher = class {
544 /** 545 /**
545 * @param {!WebInspector.ConsoleModel} console 546 * @param {!WebInspector.ConsoleModel} console
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 */ 635 */
635 _commandEvaluated(event) { 636 _commandEvaluated(event) {
636 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEvalua ted, event.data); 637 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEvalua ted, event.data);
637 } 638 }
638 }; 639 };
639 640
640 /** 641 /**
641 * @type {!WebInspector.MultitargetConsoleModel} 642 * @type {!WebInspector.MultitargetConsoleModel}
642 */ 643 */
643 WebInspector.multitargetConsoleModel; 644 WebInspector.multitargetConsoleModel;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698