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

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

Issue 978173002: Merge 190852 "[Contextual Search] Check for an ARIA widget." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2311/
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/modules/accessibility/AXObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXObject.h
===================================================================
--- Source/modules/accessibility/AXObject.h (revision 191329)
+++ Source/modules/accessibility/AXObject.h (working copy)
@@ -615,6 +615,7 @@
static AccessibilityRole ariaRoleToWebCoreRole(const String&);
static IntRect boundingBoxForQuads(LayoutObject*, const Vector<FloatQuad>&);
static const AtomicString& roleName(AccessibilityRole);
+ static bool isInsideFocusableElementOrARIAWidget(const Node&);
protected:
AXID m_id;
@@ -652,6 +653,10 @@
// Updates the cached attribute values. This may be recursive, so to prevent deadlocks,
// functions called here may only search up the tree (ancestors), not down.
void updateCachedAttributeValuesIfNeeded() const;
+
+private:
+ static bool includesARIAWidgetRole(const String&);
+ static bool hasInteractiveARIAAttribute(const Element&);
};
#define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
« no previous file with comments | « no previous file | Source/modules/accessibility/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698