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

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

Issue 211023002: DevTools: Remove event Console.messageRepeatCountUpdated (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix inspector-protocol/console/console-timestamp.html 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
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 24 matching lines...) Expand all
35 WebInspector.PresentationConsoleMessageHelper = function(workspace) 35 WebInspector.PresentationConsoleMessageHelper = function(workspace)
36 { 36 {
37 /** 37 /**
38 * @type {!Object.<string, !Array.<!WebInspector.ConsoleMessage>>} 38 * @type {!Object.<string, !Array.<!WebInspector.ConsoleMessage>>}
39 */ 39 */
40 this._pendingConsoleMessages = {}; 40 this._pendingConsoleMessages = {};
41 this._presentationConsoleMessages = []; 41 this._presentationConsoleMessages = [];
42 this._workspace = workspace; 42 this._workspace = workspace;
43 43
44 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.Messa geAdded, this._consoleMessageAdded, this); 44 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.Messa geAdded, this._consoleMessageAdded, this);
45 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.Repea tCountUpdated, this._consoleMessageAdded, this);
46 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.Conso leCleared, this._consoleCleared, this); 45 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.Conso leCleared, this._consoleCleared, this);
47 46
48 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.ParsedScriptSource, this._parsedScriptSource, this); 47 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.ParsedScriptSource, this._parsedScriptSource, this);
49 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.FailedToParseScriptSource, this._parsedScriptSource, this); 48 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.FailedToParseScriptSource, this._parsedScriptSource, this);
50 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.GlobalObjectCleared, this._debuggerReset, this); 49 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Event s.GlobalObjectCleared, this._debuggerReset, this);
51 } 50 }
52 51
53 WebInspector.PresentationConsoleMessageHelper.prototype = { 52 WebInspector.PresentationConsoleMessageHelper.prototype = {
54 /** 53 /**
55 * @param {!WebInspector.Event} event 54 * @param {!WebInspector.Event} event
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 get lineNumber() 169 get lineNumber()
171 { 170 {
172 return this._uiLocation.lineNumber; 171 return this._uiLocation.lineNumber;
173 }, 172 },
174 173
175 dispose: function() 174 dispose: function()
176 { 175 {
177 this._liveLocation.dispose(); 176 this._liveLocation.dispose();
178 } 177 }
179 } 178 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/NetworkManager.js ('k') | Source/devtools/front_end/ResourceTreeModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698