Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 2967193003: Relation list properties for Accessibility Object Model phase 1 (Closed)
Patch Set: Get rid of accidental duplication in inspector output Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index ba79e1eb85a8c64ee3511a0a174110eb08e6b51a..e80b5d05ffd5bea5d6cc9a94921286e4d5f55d39 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -45,6 +45,7 @@ class SkMatrix44;
namespace blink {
+class AccessibleNodeList;
class AXObject;
class AXObjectCacheImpl;
class Element;
@@ -60,6 +61,7 @@ enum class AOMUIntProperty;
enum class AOMIntProperty;
enum class AOMFloatProperty;
enum class AOMRelationProperty;
+enum class AOMRelationListProperty;
typedef unsigned AXID;
@@ -354,6 +356,10 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
// or the equivalent ARIA attribute, in that order.
const AtomicString& GetAOMPropertyOrARIAAttribute(AOMStringProperty) const;
Element* GetAOMPropertyOrARIAAttribute(AOMRelationProperty) const;
+ bool HasAOMProperty(AOMRelationListProperty,
+ HeapVector<Member<Element>>& result) const;
+ bool HasAOMPropertyOrARIAAttribute(AOMRelationListProperty,
+ HeapVector<Member<Element>>& result) const;
bool HasAOMPropertyOrARIAAttribute(AOMBooleanProperty, bool& result) const;
bool AOMPropertyOrARIAAttributeIsTrue(AOMBooleanProperty) const;
bool AOMPropertyOrARIAAttributeIsFalse(AOMBooleanProperty) const;
@@ -807,6 +813,8 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
static AccessibilityRole AriaRoleToWebCoreRole(const String&);
static const AtomicString& RoleName(AccessibilityRole);
static const AtomicString& InternalRoleName(AccessibilityRole);
+ static void AccessibleNodeListToElementVector(const AccessibleNodeList&,
+ HeapVector<Member<Element>>&);
protected:
AXID id_;
@@ -841,7 +849,6 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
String TextFromAriaLabelledby(AXObjectSet& visited,
AXRelatedObjectVector* related_objects) const;
String TextFromAriaDescribedby(AXRelatedObjectVector* related_objects) const;
-
virtual const AXObject* InheritsPresentationalRoleFrom() const { return 0; }
bool CanReceiveAccessibilityFocus() const;

Powered by Google App Engine
This is Rietveld 408576698