OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef AXObject_h | 5 #ifndef AXObject_h |
6 #define AXObject_h | 6 #define AXObject_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 kTextStyleLineThrough = 1 << 3 | 239 kTextStyleLineThrough = 1 << 3 |
240 }; | 240 }; |
241 | 241 |
242 enum class AXStringAttribute { | 242 enum class AXStringAttribute { |
243 kAriaKeyShortcuts, | 243 kAriaKeyShortcuts, |
244 kAriaRoleDescription, | 244 kAriaRoleDescription, |
245 }; | 245 }; |
246 | 246 |
247 enum class AXObjectAttribute { | 247 enum class AXObjectAttribute { |
248 kAriaActiveDescendant, | 248 kAriaActiveDescendant, |
| 249 kAriaDetails, |
249 kAriaErrorMessage, | 250 kAriaErrorMessage, |
250 }; | 251 }; |
251 | 252 |
252 enum class AXObjectVectorAttribute { | 253 enum class AXObjectVectorAttribute { |
253 kAriaControls, | 254 kAriaControls, |
254 kAriaDetails, | |
255 kAriaFlowTo, | 255 kAriaFlowTo, |
256 }; | 256 }; |
257 | 257 |
258 // The source of the accessible name of an element. This is needed | 258 // The source of the accessible name of an element. This is needed |
259 // because on some platforms this determines how the accessible name | 259 // because on some platforms this determines how the accessible name |
260 // is exposed. | 260 // is exposed. |
261 enum AXNameFrom { | 261 enum AXNameFrom { |
262 kAXNameFromUninitialized = -1, | 262 kAXNameFromUninitialized = -1, |
263 kAXNameFromAttribute = 0, | 263 kAXNameFromAttribute = 0, |
264 kAXNameFromAttributeExplicitlyEmpty, | 264 kAXNameFromAttributeExplicitlyEmpty, |
(...skipping 15 matching lines...) Expand all Loading... |
280 kAXDescriptionFromRelatedElement, | 280 kAXDescriptionFromRelatedElement, |
281 }; | 281 }; |
282 | 282 |
283 // TODO(sashab): Add pure virtual methods to this class to remove dependencies | 283 // TODO(sashab): Add pure virtual methods to this class to remove dependencies |
284 // on AXObjectImpl from outside of modules/. | 284 // on AXObjectImpl from outside of modules/. |
285 class CORE_EXPORT AXObject {}; | 285 class CORE_EXPORT AXObject {}; |
286 | 286 |
287 } // namespace blink | 287 } // namespace blink |
288 | 288 |
289 #endif // AXObject_h | 289 #endif // AXObject_h |
OLD | NEW |