OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "ui/accessibility/ax_enums.h" |
5 #include "ui/accessibility/ax_tree.h" | 6 #include "ui/accessibility/ax_tree.h" |
6 #include "ui/accessibility/ax_tree_combiner.h" | 7 #include "ui/accessibility/ax_tree_combiner.h" |
7 #include "ui/gfx/geometry/rect_f.h" | 8 #include "ui/gfx/geometry/rect_f.h" |
8 | 9 |
9 namespace ui { | 10 namespace ui { |
10 namespace { | 11 namespace { |
11 | 12 |
12 // Return true if |attr| is a node ID that would need to be mapped when | 13 // Return true if |attr| is a node ID that would need to be mapped when |
13 // renumbering the ids in a combined tree. | 14 // renumbering the ids in a combined tree. |
14 bool IsNodeIdIntAttribute(AXIntAttribute attr) { | 15 bool IsNodeIdIntAttribute(AXIntAttribute attr) { |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 // Recurse into the child tree now, if any. | 234 // Recurse into the child tree now, if any. |
234 if (child_tree) | 235 if (child_tree) |
235 ProcessTree(child_tree); | 236 ProcessTree(child_tree); |
236 } | 237 } |
237 | 238 |
238 // Reset the transform. | 239 // Reset the transform. |
239 transform_ = old_transform; | 240 transform_ = old_transform; |
240 } | 241 } |
241 | 242 |
242 } // namespace ui | 243 } // namespace ui |
OLD | NEW |