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

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
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 a0c1becba520e27016f1e60e00985ef72194f94d..31abe45ae903fbb92902ef8cefaf72437358fd72 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,
kAbbrRole, // No mapping to ARIA role.
@@ -272,7 +274,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') | third_party/WebKit/Source/core/dom/AXObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698