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

Unified Diff: ui/accessibility/ax_tree_data.h

Issue 1589623002: Keep track of accessibility focus across windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final suggestions Created 4 years, 10 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_node_data.cc ('k') | ui/accessibility/ax_tree_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_data.h
diff --git a/ui/accessibility/ax_tree_data.h b/ui/accessibility/ax_tree_data.h
index 2922a18369a60c921c2c9e8b1a35c2dbfa931a0a..25e0db3d6756360a315cd6cc653d55caab1aa36f 100644
--- a/ui/accessibility/ax_tree_data.h
+++ b/ui/accessibility/ax_tree_data.h
@@ -45,6 +45,10 @@ struct AX_EXPORT AXTreeData {
bool loaded;
float loading_progress;
+ // The node with keyboard focus within this tree, if any, or -1 if no node
+ // in this tree has focus.
+ int32_t focus_id;
+
// The current text selection within this tree, if any, expressed as the
// node ID and character offset of the anchor (selection start) and focus
// (selection end).
« no previous file with comments | « ui/accessibility/ax_node_data.cc ('k') | ui/accessibility/ax_tree_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698