| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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.SDKObject} | 7 * @extends {WebInspector.SDKObject} |
| 8 * @param {!WebInspector.AccessibilityModel} accessibilityModel | 8 * @param {!WebInspector.AccessibilityModel} accessibilityModel |
| 9 * @param {!AccessibilityAgent.AXNode} payload | 9 * @param {!AccessibilityAgent.AXNode} payload |
| 10 */ | 10 */ |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 /** | 192 /** |
| 193 * @param {!WebInspector.Target} target | 193 * @param {!WebInspector.Target} target |
| 194 * @return {!WebInspector.AccessibilityModel} | 194 * @return {!WebInspector.AccessibilityModel} |
| 195 */ | 195 */ |
| 196 WebInspector.AccessibilityModel.fromTarget = function(target) | 196 WebInspector.AccessibilityModel.fromTarget = function(target) |
| 197 { | 197 { |
| 198 if (!target[WebInspector.AccessibilityModel._symbol]) | 198 if (!target[WebInspector.AccessibilityModel._symbol]) |
| 199 target[WebInspector.AccessibilityModel._symbol] = new WebInspector.Acces
sibilityModel(target); | 199 target[WebInspector.AccessibilityModel._symbol] = new WebInspector.Acces
sibilityModel(target); |
| 200 | 200 |
| 201 return target[WebInspector.AccessibilityModel._symbol]; | 201 return target[WebInspector.AccessibilityModel._symbol]; |
| 202 } | 202 }; |
| OLD | NEW |