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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 * @return {!Element} | 135 * @return {!Element} |
136 */ | 136 */ |
137 defaultFocusedElement: function() | 137 defaultFocusedElement: function() |
138 { | 138 { |
139 return this.promptElement | 139 return this.promptElement |
140 }, | 140 }, |
141 | 141 |
142 _onFiltersToggled: function(event) | 142 _onFiltersToggled: function(event) |
143 { | 143 { |
144 var toggled = /** @type {boolean} */ (event.data); | 144 var toggled = /** @type {boolean} */ (event.data); |
145 this._filtersContainer.enableStyleClass("hidden", !toggled); | 145 this._filtersContainer.classList.toggle("hidden", !toggled); |
146 }, | 146 }, |
147 | 147 |
148 /** | 148 /** |
149 * @param {!WebInspector.Event} event | 149 * @param {!WebInspector.Event} event |
150 */ | 150 */ |
151 _frameAdded: function(event) | 151 _frameAdded: function(event) |
152 { | 152 { |
153 var contextList = /** @type {!WebInspector.FrameExecutionContextList} */
(event.data); | 153 var contextList = /** @type {!WebInspector.FrameExecutionContextList} */
(event.data); |
154 this._addFrame(contextList); | 154 this._addFrame(contextList); |
155 }, | 155 }, |
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 node.group.wasShown(); | 1142 node.group.wasShown(); |
1143 node = node.nextSibling; | 1143 node = node.nextSibling; |
1144 } | 1144 } |
1145 } | 1145 } |
1146 } | 1146 } |
1147 | 1147 |
1148 /** | 1148 /** |
1149 * @type {!WebInspector.ConsoleView} | 1149 * @type {!WebInspector.ConsoleView} |
1150 */ | 1150 */ |
1151 WebInspector.consoleView; | 1151 WebInspector.consoleView; |
OLD | NEW |