| 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" | 16 #include "ui/accessibility/ax_enums.h" |
| 17 #include "ui/accessibility/ax_export.h" | 17 #include "ui/accessibility/ax_export.h" |
| 18 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 19 #include "ui/gfx/transform.h" |
| 19 | 20 |
| 20 namespace ui { | 21 namespace ui { |
| 21 | 22 |
| 22 // The data associated with an accessibility tree that's global to the | 23 // The data associated with an accessibility tree that's global to the |
| 23 // tree and not associated with any particular node in the tree. | 24 // tree and not associated with any particular node in the tree. |
| 24 struct AX_EXPORT AXTreeData { | 25 struct AX_EXPORT AXTreeData { |
| 25 AXTreeData(); | 26 AXTreeData(); |
| 26 virtual ~AXTreeData(); | 27 virtual ~AXTreeData(); |
| 27 | 28 |
| 28 // Return a string representation of this data, for debugging. | 29 // Return a string representation of this data, for debugging. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 57 int32_t sel_focus_object_id; | 58 int32_t sel_focus_object_id; |
| 58 int32_t sel_focus_offset; | 59 int32_t sel_focus_offset; |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs); | 62 AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs); |
| 62 AX_EXPORT bool operator!=(const AXTreeData& lhs, const AXTreeData& rhs); | 63 AX_EXPORT bool operator!=(const AXTreeData& lhs, const AXTreeData& rhs); |
| 63 | 64 |
| 64 } // namespace ui | 65 } // namespace ui |
| 65 | 66 |
| 66 #endif // UI_ACCESSIBILITY_AX_TREE_DATA_H_ | 67 #endif // UI_ACCESSIBILITY_AX_TREE_DATA_H_ |
| OLD | NEW |