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

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

Issue 14320022: Warn developers about deprecated features only once per page-load. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: OwnPtr<BitVector> -> BitVector Created 7 years, 8 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
« no previous file with comments | « Source/core/page/PageConsole.cpp ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 WebInspector.ConsoleMessage.MessageSource = { 224 WebInspector.ConsoleMessage.MessageSource = {
225 XML: "xml", 225 XML: "xml",
226 JS: "javascript", 226 JS: "javascript",
227 Network: "network", 227 Network: "network",
228 ConsoleAPI: "console-api", 228 ConsoleAPI: "console-api",
229 Storage: "storage", 229 Storage: "storage",
230 AppCache: "appcache", 230 AppCache: "appcache",
231 Rendering: "rendering", 231 Rendering: "rendering",
232 CSS: "css", 232 CSS: "css",
233 Security: "security", 233 Security: "security",
234 Other: "other" 234 Other: "other",
235 Deprecation: "deprecation"
235 } 236 }
236 237
237 WebInspector.ConsoleMessage.MessageType = { 238 WebInspector.ConsoleMessage.MessageType = {
238 Log: "log", 239 Log: "log",
239 Dir: "dir", 240 Dir: "dir",
240 DirXML: "dirxml", 241 DirXML: "dirxml",
241 Table: "table", 242 Table: "table",
242 Trace: "trace", 243 Trace: "trace",
243 Clear: "clear", 244 Clear: "clear",
244 StartGroup: "startGroup", 245 StartGroup: "startGroup",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 { 302 {
302 if (!WebInspector.settings.preserveConsoleLog.get()) 303 if (!WebInspector.settings.preserveConsoleLog.get())
303 this._console.clearMessages(); 304 this._console.clearMessages();
304 } 305 }
305 } 306 }
306 307
307 /** 308 /**
308 * @type {?WebInspector.ConsoleModel} 309 * @type {?WebInspector.ConsoleModel}
309 */ 310 */
310 WebInspector.console = null; 311 WebInspector.console = null;
OLDNEW
« no previous file with comments | « Source/core/page/PageConsole.cpp ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698