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

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

Issue 2750533006: Initial skeleton of Accessibility Object Model Phase 1 (Closed)
Patch Set: 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/ElementAccessibleNode.h
diff --git a/third_party/WebKit/Source/modules/accessibility/ElementAccessibleNode.h b/third_party/WebKit/Source/modules/accessibility/ElementAccessibleNode.h
new file mode 100644
index 0000000000000000000000000000000000000000..714e34b137c22badcf7ead8b2d139b0c825c2a71
--- /dev/null
+++ b/third_party/WebKit/Source/modules/accessibility/ElementAccessibleNode.h
@@ -0,0 +1,25 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ElementAccessibleNode_h
+#define ElementAccessibleNode_h
+
+#include "core/dom/Element.h"
+#include "modules/accessibility/AccessibleNode.h"
+
+namespace blink {
+
+// Access an Accessibility Object Model node from a DOM Element.
+// Explainer: https://github.com/WICG/aom/blob/master/explainer.md
+// Spec: https://wicg.github.io/aom/spec/
+class ElementAccessibleNode {
+ STATIC_ONLY(ElementAccessibleNode);
+
+ public:
+ static AccessibleNode* accessibleNode(Element&);
+};
+
+} // namespace blink
+
+#endif // ElementAccessibleNode_h

Powered by Google App Engine
This is Rietveld 408576698