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

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

Issue 253193004: DevTools: [Console] fix regressed array formatting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 this._scrolledToBottom = true; 84 this._scrolledToBottom = true;
85 85
86 this._filterStatusMessageElement = this._messagesElement.createChild("div", "console-message"); 86 this._filterStatusMessageElement = this._messagesElement.createChild("div", "console-message");
87 this._filterStatusTextElement = this._filterStatusMessageElement.createChild ("span", "console-info"); 87 this._filterStatusTextElement = this._filterStatusMessageElement.createChild ("span", "console-info");
88 this._filterStatusMessageElement.createTextChild(" "); 88 this._filterStatusMessageElement.createTextChild(" ");
89 var resetFiltersLink = this._filterStatusMessageElement.createChild("span", "console-info node-link"); 89 var resetFiltersLink = this._filterStatusMessageElement.createChild("span", "console-info node-link");
90 resetFiltersLink.textContent = WebInspector.UIString("Show all messages."); 90 resetFiltersLink.textContent = WebInspector.UIString("Show all messages.");
91 resetFiltersLink.addEventListener("click", this._filter.reset.bind(this._fil ter), true); 91 resetFiltersLink.addEventListener("click", this._filter.reset.bind(this._fil ter), true);
92 92
93 this._messagesContainer = this._messagesElement.createChild("div", "console- group"); 93 this._messagesContainer = this._messagesElement.createChild("div", "console- group");
94 this._messagesContainer.classList.add("console-group-messages");
94 this._topGroup = WebInspector.ConsoleGroup.createTopGroup(); 95 this._topGroup = WebInspector.ConsoleGroup.createTopGroup();
95 this._currentGroup = this._topGroup; 96 this._currentGroup = this._topGroup;
96 97
97 this._promptElement = this._messagesElement.createChild("div", "source-code" ); 98 this._promptElement = this._messagesElement.createChild("div", "source-code" );
98 this._promptElement.id = "console-prompt"; 99 this._promptElement.id = "console-prompt";
99 this._promptElement.spellcheck = false; 100 this._promptElement.spellcheck = false;
100 this._promptElement.addEventListener("paste", this._onPasteIntoPrompt.bind(t his), false); 101 this._promptElement.addEventListener("paste", this._onPasteIntoPrompt.bind(t his), false);
101 this._promptElement.addEventListener("drop", this._onPasteIntoPrompt.bind(th is), false); 102 this._promptElement.addEventListener("drop", this._onPasteIntoPrompt.bind(th is), false);
102 this._messagesElement.appendChild(this._promptElement); 103 this._messagesElement.appendChild(this._promptElement);
103 this._messagesElement.appendChild(document.createElement("br")); 104 this._messagesElement.appendChild(document.createElement("br"));
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype = { 1144 WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype = {
1144 /** 1145 /**
1145 * @return {boolean} 1146 * @return {boolean}
1146 */ 1147 */
1147 handleAction: function() 1148 handleAction: function()
1148 { 1149 {
1149 WebInspector.console.show(); 1150 WebInspector.console.show();
1150 return true; 1151 return true;
1151 } 1152 }
1152 } 1153 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698