| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "modules/accessibility/InspectorTypeBuilderHelper.h" | 5 #include "modules/accessibility/InspectorTypeBuilderHelper.h" |
| 6 | 6 |
| 7 #include "core/dom/DOMNodeIds.h" | 7 #include "core/dom/DOMNodeIds.h" |
| 8 #include "modules/accessibility/AXObject.h" | 8 #include "modules/accessibility/AXObject.h" |
| 9 #include "modules/accessibility/AXObjectCacheImpl.h" | 9 #include "modules/accessibility/AXObjectCacheImpl.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 case AXAriaHidden: | 30 case AXAriaHidden: |
| 31 return "ariaHidden"; | 31 return "ariaHidden"; |
| 32 case AXAriaHiddenRoot: | 32 case AXAriaHiddenRoot: |
| 33 return "ariaHiddenRoot"; | 33 return "ariaHiddenRoot"; |
| 34 case AXEmptyAlt: | 34 case AXEmptyAlt: |
| 35 return "emptyAlt"; | 35 return "emptyAlt"; |
| 36 case AXEmptyText: | 36 case AXEmptyText: |
| 37 return "emptyText"; | 37 return "emptyText"; |
| 38 case AXInert: | 38 case AXInert: |
| 39 return "inert"; | 39 return "inert"; |
| 40 case AXInertRoot: |
| 41 return "inertRoot"; |
| 40 case AXInheritsPresentation: | 42 case AXInheritsPresentation: |
| 41 return "inheritsPresentation"; | 43 return "inheritsPresentation"; |
| 42 case AXLabelContainer: | 44 case AXLabelContainer: |
| 43 return "labelContainer"; | 45 return "labelContainer"; |
| 44 case AXLabelFor: | 46 case AXLabelFor: |
| 45 return "labelFor"; | 47 return "labelFor"; |
| 46 case AXNotRendered: | 48 case AXNotRendered: |
| 47 return "notRendered"; | 49 return "notRendered"; |
| 48 case AXNotVisible: | 50 case AXNotVisible: |
| 49 return "notVisible"; | 51 return "notVisible"; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 if (nameSource.superseded) | 204 if (nameSource.superseded) |
| 203 valueSource->setSuperseded(true); | 205 valueSource->setSuperseded(true); |
| 204 if (nameSource.invalid) | 206 if (nameSource.invalid) |
| 205 valueSource->setInvalid(true); | 207 valueSource->setInvalid(true); |
| 206 if (nameSource.nativeSource != AXTextFromNativeHTMLUninitialized) | 208 if (nameSource.nativeSource != AXTextFromNativeHTMLUninitialized) |
| 207 valueSource->setNativeSource(nativeSourceType(nameSource.nativeSource)); | 209 valueSource->setNativeSource(nativeSourceType(nameSource.nativeSource)); |
| 208 return valueSource; | 210 return valueSource; |
| 209 } | 211 } |
| 210 | 212 |
| 211 } // namespace blink | 213 } // namespace blink |
| OLD | NEW |