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

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

Issue 363973002: DevTools: bake generic css files into the concatenated one. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 this._showAllMessagesCheckbox = new WebInspector.StatusBarCheckbox(WebInspec tor.UIString("Show all messages")); 114 this._showAllMessagesCheckbox = new WebInspector.StatusBarCheckbox(WebInspec tor.UIString("Show all messages"));
115 this._showAllMessagesCheckbox.inputElement.checked = true; 115 this._showAllMessagesCheckbox.inputElement.checked = true;
116 this._showAllMessagesCheckbox.inputElement.addEventListener("change", this._ updateMessageList.bind(this), false); 116 this._showAllMessagesCheckbox.inputElement.addEventListener("change", this._ updateMessageList.bind(this), false);
117 117
118 if (!WebInspector.experimentsSettings.workersInMainWindow.isEnabled()) 118 if (!WebInspector.experimentsSettings.workersInMainWindow.isEnabled())
119 this._showAllMessagesCheckbox.element.classList.add("hidden"); 119 this._showAllMessagesCheckbox.element.classList.add("hidden");
120 120
121 statusBarElement.appendChild(this._showAllMessagesCheckbox.element); 121 statusBarElement.appendChild(this._showAllMessagesCheckbox.element);
122 122
123 this._registerShortcuts(); 123 this._registerShortcuts();
124 this.registerRequiredCSS("suggestBox.css");
125 124
126 this._messagesElement.addEventListener("contextmenu", this._handleContextMen uEvent.bind(this), false); 125 this._messagesElement.addEventListener("contextmenu", this._handleContextMen uEvent.bind(this), false);
127 WebInspector.settings.monitoringXHREnabled.addChangeListener(this._monitorin gXHREnabledSettingChanged, this); 126 WebInspector.settings.monitoringXHREnabled.addChangeListener(this._monitorin gXHREnabledSettingChanged, this);
128 127
129 this._linkifier = new WebInspector.Linkifier(); 128 this._linkifier = new WebInspector.Linkifier();
130 129
131 /** @type {!Array.<!WebInspector.ConsoleViewMessage>} */ 130 /** @type {!Array.<!WebInspector.ConsoleViewMessage>} */
132 this._consoleMessages = []; 131 this._consoleMessages = [];
133 132
134 this._prompt = new WebInspector.TextPromptWithHistory(WebInspector.Execution ContextSelector.completionsForTextPromptInCurrentContext); 133 this._prompt = new WebInspector.TextPromptWithHistory(WebInspector.Execution ContextSelector.completionsForTextPromptInCurrentContext);
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype = { 1229 WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype = {
1231 /** 1230 /**
1232 * @return {boolean} 1231 * @return {boolean}
1233 */ 1232 */
1234 handleAction: function() 1233 handleAction: function()
1235 { 1234 {
1236 WebInspector.console.show(); 1235 WebInspector.console.show();
1237 return true; 1236 return true;
1238 } 1237 }
1239 } 1238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698