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

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

Issue 2713193003: Added a quick heuristic to determine which objects are the target of in-page links and stop ignorin… (Closed)
Patch Set: Fixed Android test. Created 3 years, 9 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 ac9b47f066320ea2c1afdc63ffd26cbba32f476e..46785505bb08b09f070165b251d50a9e867352e1 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -60,6 +60,7 @@ enum AccessibilityRole {
AbbrRole, // No mapping to ARIA role.
AlertDialogRole,
AlertRole,
+ AnchorRole, // No mapping to ARIA role.
AnnotationRole, // No mapping to ARIA role.
ApplicationRole,
ArticleRole,
@@ -631,6 +632,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
virtual bool isInputImage() const { return false; }
bool isLandmarkRelated() const;
virtual bool isLink() const { return false; }
+ virtual bool isInPageLinkTarget() const { return false; }
virtual bool isList() const { return false; }
virtual bool isMenu() const { return false; }
virtual bool isMenuButton() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698