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

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

Issue 2539503003: ARIA 1.1: implementation for aria-col-* and aria-row-*. (Closed)
Patch Set: Fix Mac Created 4 years 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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // Recurse into the child tree now, if any. 240 // Recurse into the child tree now, if any.
237 if (child_tree) 241 if (child_tree)
238 ProcessTree(child_tree); 242 ProcessTree(child_tree);
239 } 243 }
240 244
241 // Reset the transform. 245 // Reset the transform.
242 transform_ = old_transform; 246 transform_ = old_transform;
243 } 247 }
244 248
245 } // namespace ui 249 } // namespace ui
OLDNEW
« third_party/WebKit/public/web/WebAXObject.h ('K') | « ui/accessibility/ax_node_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698