Chromium Code Reviews| Index: Source/modules/accessibility/AXObject.h |
| diff --git a/Source/modules/accessibility/AXObject.h b/Source/modules/accessibility/AXObject.h |
| index 0e2c5c10eaf158cca93cd3e5ac5a7afb46bf33c4..4d0a5801d2ac23e6b249ada17654402a709fff97 100644 |
| --- a/Source/modules/accessibility/AXObject.h |
| +++ b/Source/modules/accessibility/AXObject.h |
| @@ -40,6 +40,7 @@ |
| namespace blink { |
| class AXObject; |
| +class AXObjectCache; |
| class AXObjectCacheImpl; |
| class Element; |
| class FrameView; |
| @@ -52,6 +53,7 @@ class Widget; |
| typedef unsigned AXID; |
| enum AccessibilityRole { |
| + UnknownRole = 0, |
| AlertDialogRole = 1, |
|
dmazzoni
2014/12/17 06:24:19
nit: get rid of the = 1
aboxhall
2014/12/18 04:34:47
Done.
|
| AlertRole, |
| AnnotationRole, |
| @@ -163,10 +165,10 @@ enum AccessibilityRole { |
| TreeGridRole, |
| TreeItemRole, |
| TreeRole, |
| - UnknownRole, |
| UserInterfaceTooltipRole, |
| WebAreaRole, |
| WindowRole, |
| + NumRoles |
| }; |
| enum AccessibilityTextSource { |
| @@ -577,6 +579,7 @@ public: |
| static bool isARIAInput(AccessibilityRole); |
| static AccessibilityRole ariaRoleToWebCoreRole(const String&); |
| static IntRect boundingBoxForQuads(RenderObject*, const Vector<FloatQuad>&); |
| + static const AtomicString& roleName(AccessibilityRole); |
| protected: |
| AXID m_id; |