| 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.AXTreePane = class extends Accessibility.AccessibilitySubPane { | 7 Accessibility.AXTreePane = class extends Accessibility.AccessibilitySubPane { |
| 8 /** | 8 /** |
| 9 * @param {!Accessibility.AccessibilitySidebarView} axSidebarView | 9 * @param {!Accessibility.AccessibilitySidebarView} axSidebarView |
| 10 */ | 10 */ |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 } | 175 } |
| 176 | 176 |
| 177 clearSelectedByUser() { | 177 clearSelectedByUser() { |
| 178 delete this._selectedByUser; | 178 delete this._selectedByUser; |
| 179 } | 179 } |
| 180 | 180 |
| 181 /** | 181 /** |
| 182 * @return {!SDK.Target} | 182 * @return {!SDK.Target} |
| 183 */ | 183 */ |
| 184 target() { | 184 target() { |
| 185 return this.node().target(); | 185 return this.node().domModel().target(); |
| 186 } | 186 } |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 /** | 189 /** |
| 190 * @unrestricted | 190 * @unrestricted |
| 191 */ | 191 */ |
| 192 Accessibility.AXNodeTreeElement = class extends UI.TreeElement { | 192 Accessibility.AXNodeTreeElement = class extends UI.TreeElement { |
| 193 /** | 193 /** |
| 194 * @param {!Accessibility.AccessibilityNode} axNode | 194 * @param {!Accessibility.AccessibilityNode} axNode |
| 195 * @param {!Accessibility.AXTreePane} treePane | 195 * @param {!Accessibility.AXTreePane} treePane |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 | 481 |
| 482 return super.select(omitFocus, selectedByUser); | 482 return super.select(omitFocus, selectedByUser); |
| 483 } | 483 } |
| 484 }; | 484 }; |
| 485 | 485 |
| 486 /** @type {!Object<string, string>} */ | 486 /** @type {!Object<string, string>} */ |
| 487 Accessibility.AXNodeTreeElement.RoleStyles = { | 487 Accessibility.AXNodeTreeElement.RoleStyles = { |
| 488 internalRole: 'ax-internal-role', | 488 internalRole: 'ax-internal-role', |
| 489 role: 'ax-role', | 489 role: 'ax-role', |
| 490 }; | 490 }; |
| OLD | NEW |