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

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 round 2 Created 3 years, 10 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 090f8f1b11988f0313a68ee8fbcc919c77f2b0c4..5458f2a0c5daa05adde08b2adaa17a3d1073503e 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -395,11 +395,12 @@ enum AXIgnoredReason {
AXActiveModalDialog,
AXAncestorDisallowsChild,
AXAncestorIsLeafNode,
- AXAriaHidden,
- AXAriaHiddenRoot,
+ AXAriaHiddenElement,
+ AXAriaHiddenSubtree,
esprehn 2017/02/15 02:15:01 I assume reordering this enum is safe?
aboxhall 2017/02/15 04:01:32 Yes - only used by devtools, serialized to a strin
AXEmptyAlt,
AXEmptyText,
- AXInert,
+ AXInertElement,
+ AXInertSubtree,
AXInheritsPresentation,
AXLabelContainer,
AXLabelFor,
@@ -1076,6 +1077,8 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
return nullptr;
}
+ const AXObject* inertRoot() const;
+
mutable Member<AXObject> m_parent;
// The following cached attribute values (the ones starting with m_cached*)

Powered by Google App Engine
This is Rietveld 408576698