Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/accessibility/ARIAAttributesView.js

Issue 2604883002: DevTools: namespace globals (Closed)
Patch Set: address CL feedback Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698