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

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: rebase cl2patch6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js » ('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) 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 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 * @param {number} nestingLevel 1252 * @param {number} nestingLevel
1253 */ 1253 */
1254 WebInspector.ConsoleCommandResult = function(message, linkifier, nestingLevel) 1254 WebInspector.ConsoleCommandResult = function(message, linkifier, nestingLevel)
1255 { 1255 {
1256 WebInspector.ConsoleViewMessage.call(this, message, linkifier, nestingLevel) ; 1256 WebInspector.ConsoleViewMessage.call(this, message, linkifier, nestingLevel) ;
1257 } 1257 }
1258 1258
1259 WebInspector.ConsoleCommandResult.prototype = { 1259 WebInspector.ConsoleCommandResult.prototype = {
1260 /** 1260 /**
1261 * @override 1261 * @override
1262 * @param {!WebInspector.RemoteObject} array
1263 * @return {boolean}
1264 */
1265 useArrayPreviewInFormatter: function(array)
1266 {
1267 return false;
1268 },
1269
1270 /**
1271 * @override
1272 * @return {!Element} 1262 * @return {!Element}
1273 */ 1263 */
1274 contentElement: function() 1264 contentElement: function()
1275 { 1265 {
1276 var element = WebInspector.ConsoleViewMessage.prototype.contentElement.c all(this); 1266 var element = WebInspector.ConsoleViewMessage.prototype.contentElement.c all(this);
1277 element.classList.add("console-user-command-result"); 1267 element.classList.add("console-user-command-result");
1278 this.updateTimestamp(false); 1268 this.updateTimestamp(false);
1279 return element; 1269 return element;
1280 }, 1270 },
1281 1271
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 return true; 1365 return true;
1376 } 1366 }
1377 return false; 1367 return false;
1378 } 1368 }
1379 } 1369 }
1380 1370
1381 /** 1371 /**
1382 * @typedef {{messageIndex: number, matchIndex: number}} 1372 * @typedef {{messageIndex: number, matchIndex: number}}
1383 */ 1373 */
1384 WebInspector.ConsoleView.RegexMatchRange; 1374 WebInspector.ConsoleView.RegexMatchRange;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698