| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |