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 * @unrestricted | 5 * @unrestricted |
6 */ | 6 */ |
7 Accessibility.ARIAAttributesPane = class extends Accessibility.AccessibilitySubP
ane { | 7 Accessibility.ARIAAttributesPane = class extends Accessibility.AccessibilitySubP
ane { |
8 constructor() { | 8 constructor() { |
9 super(Common.UIString('ARIA Attributes')); | 9 super(Common.UIString('ARIA Attributes')); |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 var foundAttributes = (this._treeOutline.rootElement().childCount() !== 0); | 33 var foundAttributes = (this._treeOutline.rootElement().childCount() !== 0); |
34 this._noPropertiesInfo.classList.toggle('hidden', foundAttributes); | 34 this._noPropertiesInfo.classList.toggle('hidden', foundAttributes); |
35 this._treeOutline.element.classList.toggle('hidden', !foundAttributes); | 35 this._treeOutline.element.classList.toggle('hidden', !foundAttributes); |
36 } | 36 } |
37 }; | 37 }; |
38 | 38 |
39 /** | 39 /** |
40 * @unrestricted | 40 * @unrestricted |
41 */ | 41 */ |
42 Accessibility.ARIAAttributesTreeElement = class extends TreeElement { | 42 Accessibility.ARIAAttributesTreeElement = class extends UI.TreeElement { |
43 /** | 43 /** |
44 * @param {!Accessibility.ARIAAttributesPane} parentPane | 44 * @param {!Accessibility.ARIAAttributesPane} parentPane |
45 * @param {!SDK.DOMNode.Attribute} attribute | 45 * @param {!SDK.DOMNode.Attribute} attribute |
46 * @param {!SDK.Target} target | 46 * @param {!SDK.Target} target |
47 */ | 47 */ |
48 constructor(parentPane, attribute, target) { | 48 constructor(parentPane, attribute, target) { |
49 super(''); | 49 super(''); |
50 | 50 |
51 this._parentPane = parentPane; | 51 this._parentPane = parentPane; |
52 this._attribute = attribute; | 52 this._attribute = attribute; |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 'aria-readonly', | 247 'aria-readonly', |
248 'aria-relevant', | 248 'aria-relevant', |
249 'aria-required', | 249 'aria-required', |
250 'aria-setsize', | 250 'aria-setsize', |
251 'aria-sort', | 251 'aria-sort', |
252 'aria-valuemax', | 252 'aria-valuemax', |
253 'aria-valuemin', | 253 'aria-valuemin', |
254 'aria-valuenow', | 254 'aria-valuenow', |
255 'aria-valuetext', | 255 'aria-valuetext', |
256 ]; | 256 ]; |
OLD | NEW |