| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @extends {WebInspector.AccessibilitySubPane} | 7 * @extends {WebInspector.AccessibilitySubPane} |
| 8 */ | 8 */ |
| 9 WebInspector.ARIAAttributesPane = function() | 9 WebInspector.ARIAAttributesPane = function() |
| 10 { | 10 { |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 /** | 209 /** |
| 210 * @constructor | 210 * @constructor |
| 211 * @extends {WebInspector.TextPrompt} | 211 * @extends {WebInspector.TextPrompt} |
| 212 * @param {!Array<string>} ariaCompletions | 212 * @param {!Array<string>} ariaCompletions |
| 213 * @param {!WebInspector.ARIAAttributesTreeElement} treeElement | 213 * @param {!WebInspector.ARIAAttributesTreeElement} treeElement |
| 214 */ | 214 */ |
| 215 WebInspector.ARIAAttributesPane.ARIAAttributePrompt = function(ariaCompletions,
treeElement) | 215 WebInspector.ARIAAttributesPane.ARIAAttributePrompt = function(ariaCompletions,
treeElement) |
| 216 { | 216 { |
| 217 WebInspector.TextPrompt.call(this, this._buildPropertyCompletions.bind(this)
); | 217 WebInspector.TextPrompt.call(this); |
| 218 this.initialize(this._buildPropertyCompletions.bind(this)); |
| 218 | 219 |
| 219 this.setSuggestBoxEnabled(true); | 220 this.setSuggestBoxEnabled(true); |
| 220 | 221 |
| 221 this._ariaCompletions = ariaCompletions; | 222 this._ariaCompletions = ariaCompletions; |
| 222 this._treeElement = treeElement; | 223 this._treeElement = treeElement; |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 WebInspector.ARIAAttributesPane.ARIAAttributePrompt.prototype = { | 226 WebInspector.ARIAAttributesPane.ARIAAttributePrompt.prototype = { |
| 226 /** | 227 /** |
| 227 * @param {!Element} proxyElement | 228 * @param {!Element} proxyElement |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 "aria-readonly", | 278 "aria-readonly", |
| 278 "aria-relevant", | 279 "aria-relevant", |
| 279 "aria-required", | 280 "aria-required", |
| 280 "aria-setsize", | 281 "aria-setsize", |
| 281 "aria-sort", | 282 "aria-sort", |
| 282 "aria-valuemax", | 283 "aria-valuemax", |
| 283 "aria-valuemin", | 284 "aria-valuemin", |
| 284 "aria-valuenow", | 285 "aria-valuenow", |
| 285 "aria-valuetext", | 286 "aria-valuetext", |
| 286 ]; | 287 ]; |
| OLD | NEW |