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

Unified Diff: third_party/WebKit/Source/core/dom/AXObject.h

Issue 2872133003: Remove dependency of WebNode.cpp on AXObjectImpl (Closed)
Patch Set: Rebase Created 3 years, 7 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 | third_party/WebKit/Source/core/dom/AXObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/AXObject.h
diff --git a/third_party/WebKit/Source/core/dom/AXObject.h b/third_party/WebKit/Source/core/dom/AXObject.h
index 4acb8a5e925504fcfd402fc05f34f8a8a5b5475d..ae518553788b2422fd184d33aef0db4cc3586f29 100644
--- a/third_party/WebKit/Source/core/dom/AXObject.h
+++ b/third_party/WebKit/Source/core/dom/AXObject.h
@@ -9,6 +9,8 @@
namespace blink {
+class Node;
+
enum AccessibilityRole {
kUnknownRole = 0, // Not mapped in platform APIs, generally indicates a bug
kAbbrRole, // No mapping to ARIA role.
@@ -284,7 +286,11 @@ enum AXDescriptionFrom {
// TODO(sashab): Add pure virtual methods to this class to remove dependencies
// on AXObjectImpl from outside of modules/.
-class CORE_EXPORT AXObject {};
+class CORE_EXPORT AXObject {
+ public:
+ // Static helper functions.
+ static bool IsInsideFocusableElementOrARIAWidget(const Node&);
+};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698