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

Unified Diff: ui/accessibility/ax_tree_source.h

Issue 1413423003: Move some AX attrs from AXNodeData to AXTreeData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « ui/accessibility/ax_tree_serializer_unittest.cc ('k') | ui/accessibility/ax_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_source.h
diff --git a/ui/accessibility/ax_tree_source.h b/ui/accessibility/ax_tree_source.h
index fe6a8280f4d5eadf70b8553e5a07b35356f87940..ae9f8cab2071457e7213b19df05e3262ef197f02 100644
--- a/ui/accessibility/ax_tree_source.h
+++ b/ui/accessibility/ax_tree_source.h
@@ -17,11 +17,14 @@ namespace ui {
// as an AXNodeData. This is the primary interface to use when
// an accessibility tree will be sent over an IPC before being
// consumed.
-template<typename AXNodeSource, typename AXNodeData>
+template<typename AXNodeSource, typename AXNodeData, typename AXTreeData>
class AXTreeSource {
public:
virtual ~AXTreeSource() {}
+ // Get the tree data.
+ virtual AXTreeData GetTreeData() const = 0;
+
// Get the root of the tree.
virtual AXNodeSource GetRoot() const = 0;
« no previous file with comments | « ui/accessibility/ax_tree_serializer_unittest.cc ('k') | ui/accessibility/ax_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698