| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 WebInspector.ARIAAttributesPane.ARIAAttributePrompt = function(treeElement) | 222 WebInspector.ARIAAttributesPane.ARIAAttributePrompt = function(treeElement) |
| 223 { | 223 { |
| 224 WebInspector.TextPrompt.call(this, this._buildPropertyCompletions.bind(this)
); | 224 WebInspector.TextPrompt.call(this, this._buildPropertyCompletions.bind(this)
); |
| 225 | 225 |
| 226 this._treeElement = treeElement; | 226 this._treeElement = treeElement; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 WebInspector.ARIAAttributesPane.ARIAAttributePrompt.prototype = { | 229 WebInspector.ARIAAttributesPane.ARIAAttributePrompt.prototype = { |
| 230 /** | 230 /** |
| 231 * @param {!Element} proxyElement | 231 * @param {!Element} proxyElement |
| 232 * @param {string} text | |
| 233 * @param {number} cursorOffset | |
| 234 * @param {!Range} wordRange | 232 * @param {!Range} wordRange |
| 235 * @param {boolean} force | 233 * @param {boolean} force |
| 236 * @param {function(!Array.<string>, number=)} completionsReadyCallback | 234 * @param {function(!Array.<string>, number=)} completionsReadyCallback |
| 237 */ | 235 */ |
| 238 _buildPropertyCompletions: function(proxyElement, text, cursorOffset, wordRa
nge, force, completionsReadyCallback) | 236 _buildPropertyCompletions: function(proxyElement, wordRange, force, completi
onsReadyCallback) |
| 239 { | 237 { |
| 240 // TODO(aboxhall): replace placeholder implementation with real implemen
tation | 238 // TODO(aboxhall): replace placeholder implementation with real implemen
tation |
| 241 completionsReadyCallback([], 0); | 239 completionsReadyCallback([], 0); |
| 242 }, | 240 }, |
| 243 | 241 |
| 244 __proto__: WebInspector.TextPrompt.prototype | 242 __proto__: WebInspector.TextPrompt.prototype |
| 245 } | 243 } |
| 246 | 244 |
| 247 | 245 |
| 248 WebInspector.ARIAAttributesPane._attributes = [ | 246 WebInspector.ARIAAttributesPane._attributes = [ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 276 "aria-readonly", | 274 "aria-readonly", |
| 277 "aria-relevant", | 275 "aria-relevant", |
| 278 "aria-required", | 276 "aria-required", |
| 279 "aria-setsize", | 277 "aria-setsize", |
| 280 "aria-sort", | 278 "aria-sort", |
| 281 "aria-valuemax", | 279 "aria-valuemax", |
| 282 "aria-valuemin", | 280 "aria-valuemin", |
| 283 "aria-valuenow", | 281 "aria-valuenow", |
| 284 "aria-valuetext", | 282 "aria-valuetext", |
| 285 ]; | 283 ]; |
| OLD | NEW |