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

Unified Diff: ui/accessibility/ax_node.h

Issue 2271893002: Creates AXPosition to uniquely identify a position in the accessibility tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added overrides for parent and childAtIndex for BrowserAccessibility. Created 4 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
Index: ui/accessibility/ax_node.h
diff --git a/ui/accessibility/ax_node.h b/ui/accessibility/ax_node.h
index e1415910c8275c7d09ea887fd9370d25b2c9c82b..29ad119a7913efdcfb17aa6e8bf120e54f07c3ee 100644
--- a/ui/accessibility/ax_node.h
+++ b/ui/accessibility/ax_node.h
@@ -10,6 +10,7 @@
#include <vector>
#include "ui/accessibility/ax_node_data.h"
+#include "ui/accessibility/ax_position.h"
namespace gfx {
class Rect;
@@ -20,6 +21,8 @@ namespace ui {
// One node in an AXTree.
class AX_EXPORT AXNode {
public:
+ using AXPosition = AXNodePosition;
+
// The constructor requires a parent, id, and index in parent, but
// the data is not required. After initialization, only index_in_parent
// is allowed to change, the others are guaranteed to never change.

Powered by Google App Engine
This is Rietveld 408576698