| 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_tree.h" | 5 #include "ui/accessibility/ax_tree.h" |
| 6 #include "ui/accessibility/ax_tree_combiner.h" | 6 #include "ui/accessibility/ax_tree_combiner.h" |
| 7 #include "ui/gfx/geometry/rect_f.h" | 7 #include "ui/gfx/geometry/rect_f.h" |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 namespace { | 10 namespace { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 case AX_ATTR_CHILD_TREE_ID: | 50 case AX_ATTR_CHILD_TREE_ID: |
| 51 case AX_ATTR_SET_SIZE: | 51 case AX_ATTR_SET_SIZE: |
| 52 case AX_ATTR_POS_IN_SET: | 52 case AX_ATTR_POS_IN_SET: |
| 53 case AX_ATTR_COLOR_VALUE: | 53 case AX_ATTR_COLOR_VALUE: |
| 54 case AX_ATTR_ARIA_CURRENT_STATE: | 54 case AX_ATTR_ARIA_CURRENT_STATE: |
| 55 case AX_ATTR_BACKGROUND_COLOR: | 55 case AX_ATTR_BACKGROUND_COLOR: |
| 56 case AX_ATTR_COLOR: | 56 case AX_ATTR_COLOR: |
| 57 case AX_ATTR_INVALID_STATE: | 57 case AX_ATTR_INVALID_STATE: |
| 58 case AX_ATTR_TEXT_DIRECTION: | 58 case AX_ATTR_TEXT_DIRECTION: |
| 59 case AX_ATTR_TEXT_STYLE: | 59 case AX_ATTR_TEXT_STYLE: |
| 60 case AX_ATTR_ARIA_COL_COUNT: |
| 61 case AX_ATTR_ARIA_COL_INDEX: |
| 62 case AX_ATTR_ARIA_ROW_COUNT: |
| 63 case AX_ATTR_ARIA_ROW_INDEX: |
| 60 return false; | 64 return false; |
| 61 } | 65 } |
| 62 | 66 |
| 63 NOTREACHED(); | 67 NOTREACHED(); |
| 64 return false; | 68 return false; |
| 65 } | 69 } |
| 66 | 70 |
| 67 // Return true if |attr| contains a vector of node ids that would need | 71 // Return true if |attr| contains a vector of node ids that would need |
| 68 // to be mapped when renumbering the ids in a combined tree. | 72 // to be mapped when renumbering the ids in a combined tree. |
| 69 bool IsNodeIdIntListAttribute(AXIntListAttribute attr) { | 73 bool IsNodeIdIntListAttribute(AXIntListAttribute attr) { |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 // Recurse into the child tree now, if any. | 239 // Recurse into the child tree now, if any. |
| 236 if (child_tree) | 240 if (child_tree) |
| 237 ProcessTree(child_tree); | 241 ProcessTree(child_tree); |
| 238 } | 242 } |
| 239 | 243 |
| 240 // Reset the transform. | 244 // Reset the transform. |
| 241 transform_ = old_transform; | 245 transform_ = old_transform; |
| 242 } | 246 } |
| 243 | 247 |
| 244 } // namespace ui | 248 } // namespace ui |
| OLD | NEW |