| OLD | NEW |
| 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> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" |
| 16 #include "ui/accessibility/ax_enums.h" | |
| 17 #include "ui/accessibility/ax_export.h" | 16 #include "ui/accessibility/ax_export.h" |
| 18 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
| 19 | 18 |
| 20 namespace ui { | 19 namespace ui { |
| 21 | 20 |
| 22 // The data associated with an accessibility tree that's global to the | 21 // The data associated with an accessibility tree that's global to the |
| 23 // tree and not associated with any particular node in the tree. | 22 // tree and not associated with any particular node in the tree. |
| 24 struct AX_EXPORT AXTreeData { | 23 struct AX_EXPORT AXTreeData { |
| 25 AXTreeData(); | 24 AXTreeData(); |
| 26 AXTreeData(const AXTreeData& other); | 25 AXTreeData(const AXTreeData& other); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 int32_t sel_focus_object_id; | 61 int32_t sel_focus_object_id; |
| 63 int32_t sel_focus_offset; | 62 int32_t sel_focus_offset; |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs); | 65 AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs); |
| 67 AX_EXPORT bool operator!=(const AXTreeData& lhs, const AXTreeData& rhs); | 66 AX_EXPORT bool operator!=(const AXTreeData& lhs, const AXTreeData& rhs); |
| 68 | 67 |
| 69 } // namespace ui | 68 } // namespace ui |
| 70 | 69 |
| 71 #endif // UI_ACCESSIBILITY_AX_TREE_DATA_H_ | 70 #endif // UI_ACCESSIBILITY_AX_TREE_DATA_H_ |
| OLD | NEW |