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

Side by Side Diff: ui/accessibility/ax_tree_combiner.cc

Issue 1952863003: Implemented the "aria-current" state on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed switch statements to handle NONE case. Created 4 years, 7 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') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 case AX_ATTR_TABLE_CELL_ROW_INDEX: 43 case AX_ATTR_TABLE_CELL_ROW_INDEX:
44 case AX_ATTR_TABLE_CELL_ROW_SPAN: 44 case AX_ATTR_TABLE_CELL_ROW_SPAN:
45 case AX_ATTR_SORT_DIRECTION: 45 case AX_ATTR_SORT_DIRECTION:
46 case AX_ATTR_HIERARCHICAL_LEVEL: 46 case AX_ATTR_HIERARCHICAL_LEVEL:
47 case AX_ATTR_NAME_FROM: 47 case AX_ATTR_NAME_FROM:
48 case AX_ATTR_DESCRIPTION_FROM: 48 case AX_ATTR_DESCRIPTION_FROM:
49 case AX_ATTR_CHILD_TREE_ID: 49 case AX_ATTR_CHILD_TREE_ID:
50 case AX_ATTR_SET_SIZE: 50 case AX_ATTR_SET_SIZE:
51 case AX_ATTR_POS_IN_SET: 51 case AX_ATTR_POS_IN_SET:
52 case AX_ATTR_COLOR_VALUE: 52 case AX_ATTR_COLOR_VALUE:
53 case AX_ATTR_ARIA_CURRENT_STATE:
53 case AX_ATTR_BACKGROUND_COLOR: 54 case AX_ATTR_BACKGROUND_COLOR:
54 case AX_ATTR_COLOR: 55 case AX_ATTR_COLOR:
55 case AX_ATTR_INVALID_STATE: 56 case AX_ATTR_INVALID_STATE:
56 case AX_ATTR_TEXT_DIRECTION: 57 case AX_ATTR_TEXT_DIRECTION:
57 case AX_ATTR_TEXT_STYLE: 58 case AX_ATTR_TEXT_STYLE:
58 return false; 59 return false;
59 } 60 }
60 61
61 NOTREACHED(); 62 NOTREACHED();
62 return false; 63 return false;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Recurse into the child tree now, if any. 230 // Recurse into the child tree now, if any.
230 if (child_tree) 231 if (child_tree)
231 ProcessTree(child_tree); 232 ProcessTree(child_tree);
232 } 233 }
233 234
234 // Reset the transform. 235 // Reset the transform.
235 transform_ = old_transform; 236 transform_ = old_transform;
236 } 237 }
237 238
238 } // namespace ui 239 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accessibility/ax_node_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698