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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2373203002: DevTools: rename useArrayPreviewFormatter and remove ConsoleCommandResult override (Closed)
Patch Set: Created 4 years, 2 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) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 * @param {number} nestingLevel 1308 * @param {number} nestingLevel
1309 */ 1309 */
1310 WebInspector.ConsoleCommandResult = function(message, linkifier, nestingLevel) 1310 WebInspector.ConsoleCommandResult = function(message, linkifier, nestingLevel)
1311 { 1311 {
1312 WebInspector.ConsoleViewMessage.call(this, message, linkifier, nestingLevel) ; 1312 WebInspector.ConsoleViewMessage.call(this, message, linkifier, nestingLevel) ;
1313 } 1313 }
1314 1314
1315 WebInspector.ConsoleCommandResult.prototype = { 1315 WebInspector.ConsoleCommandResult.prototype = {
1316 /** 1316 /**
1317 * @override 1317 * @override
1318 * @param {!WebInspector.RemoteObject} array
1319 * @return {boolean}
1320 */
1321 useArrayPreviewInFormatter: function(array)
1322 {
1323 return false;
1324 },
1325
1326 /**
1327 * @override
1328 * @return {!Element} 1318 * @return {!Element}
1329 */ 1319 */
1330 contentElement: function() 1320 contentElement: function()
1331 { 1321 {
1332 var element = WebInspector.ConsoleViewMessage.prototype.contentElement.c all(this); 1322 var element = WebInspector.ConsoleViewMessage.prototype.contentElement.c all(this);
1333 element.classList.add("console-user-command-result"); 1323 element.classList.add("console-user-command-result");
1334 this.updateTimestamp(false); 1324 this.updateTimestamp(false);
1335 return element; 1325 return element;
1336 }, 1326 },
1337 1327
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 return true; 1421 return true;
1432 } 1422 }
1433 return false; 1423 return false;
1434 } 1424 }
1435 } 1425 }
1436 1426
1437 /** 1427 /**
1438 * @typedef {{messageIndex: number, matchIndex: number}} 1428 * @typedef {{messageIndex: number, matchIndex: number}}
1439 */ 1429 */
1440 WebInspector.ConsoleView.RegexMatchRange; 1430 WebInspector.ConsoleView.RegexMatchRange;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698