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

Side by Side Diff: ui/accessibility/ax_tree_data.h

Issue 1705853002: NOT FOR REVIEW. ax tree focus with debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_ACCESSIBILITY_AX_TREE_DATA_H_ 5 #ifndef UI_ACCESSIBILITY_AX_TREE_DATA_H_
6 #define UI_ACCESSIBILITY_AX_TREE_DATA_H_ 6 #define UI_ACCESSIBILITY_AX_TREE_DATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 27 matching lines...) Expand all
38 int32_t parent_tree_id; 38 int32_t parent_tree_id;
39 39
40 // Attributes specific to trees that are web frames. 40 // Attributes specific to trees that are web frames.
41 std::string url; 41 std::string url;
42 std::string title; 42 std::string title;
43 std::string mimetype; 43 std::string mimetype;
44 std::string doctype; 44 std::string doctype;
45 bool loaded; 45 bool loaded;
46 float loading_progress; 46 float loading_progress;
47 47
48 // The node with keyboard focus within this tree, if any, or -1 if no node
49 // in this tree has focus.
50 int32_t focus_id;
51
48 // The current text selection within this tree, if any, expressed as the 52 // The current text selection within this tree, if any, expressed as the
49 // node ID and character offset of the anchor (selection start) and focus 53 // node ID and character offset of the anchor (selection start) and focus
50 // (selection end). 54 // (selection end).
51 int32_t sel_anchor_object_id; 55 int32_t sel_anchor_object_id;
52 int32_t sel_anchor_offset; 56 int32_t sel_anchor_offset;
53 int32_t sel_focus_object_id; 57 int32_t sel_focus_object_id;
54 int32_t sel_focus_offset; 58 int32_t sel_focus_offset;
55 }; 59 };
56 60
57 AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs); 61 AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs);
58 AX_EXPORT bool operator!=(const AXTreeData& lhs, const AXTreeData& rhs); 62 AX_EXPORT bool operator!=(const AXTreeData& lhs, const AXTreeData& rhs);
59 63
60 } // namespace ui 64 } // namespace ui
61 65
62 #endif // UI_ACCESSIBILITY_AX_TREE_DATA_H_ 66 #endif // UI_ACCESSIBILITY_AX_TREE_DATA_H_
OLDNEW
« 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