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

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

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: esprehn comments and fix layout tests to use testharness.js Created 4 years, 6 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 3493cfab9c89cfb0bca1df0b50bb7236c29b86ab..fe1b38bd477039a30e8d3a7276cd8c0553dc5258 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -359,6 +359,7 @@ enum AXIgnoredReason {
AXEmptyAlt,
AXEmptyText,
AXInert,
+ AXInertRoot,
dmazzoni 2016/06/29 17:00:56 I wonder if AXInInertSubtree would be more clear (
AXInheritsPresentation,
AXLabelContainer,
AXLabelFor,
@@ -662,6 +663,7 @@ public:
AXObjectInclusion accessibilityPlatformIncludesObject() const;
virtual AXObjectInclusion defaultObjectInclusion(IgnoredReasons* = nullptr) const;
bool isInertOrAriaHidden() const;
+ const AXObject* inertRoot() const;
const AXObject* ariaHiddenRoot() const;
bool computeIsInertOrAriaHidden(IgnoredReasons* = nullptr) const;
bool isDescendantOfLeafNode() const;

Powered by Google App Engine
This is Rietveld 408576698