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

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

Issue 2539503003: ARIA 1.1: implementation for aria-col-* and aria-row-*. (Closed)
Patch Set: Fix bad rebase Created 3 years, 11 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_enums.idl ('k') | ui/accessibility/ax_tree_combiner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_node_data.h" 5 #include "ui/accessibility/ax_node_data.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <set> 10 #include <set>
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 break; 421 break;
422 case AX_ATTR_HIERARCHICAL_LEVEL: 422 case AX_ATTR_HIERARCHICAL_LEVEL:
423 result += " level=" + value; 423 result += " level=" + value;
424 break; 424 break;
425 case AX_ATTR_TEXT_SEL_START: 425 case AX_ATTR_TEXT_SEL_START:
426 result += " sel_start=" + value; 426 result += " sel_start=" + value;
427 break; 427 break;
428 case AX_ATTR_TEXT_SEL_END: 428 case AX_ATTR_TEXT_SEL_END:
429 result += " sel_end=" + value; 429 result += " sel_end=" + value;
430 break; 430 break;
431 case AX_ATTR_ARIA_COL_COUNT:
432 result += " aria_col_count=" + value;
433 break;
434 case AX_ATTR_ARIA_COL_INDEX:
435 result += " aria_col_index=" + value;
436 break;
437 case AX_ATTR_ARIA_ROW_COUNT:
438 result += " aria_row_count=" + value;
439 break;
440 case AX_ATTR_ARIA_ROW_INDEX:
441 result += " aria_row_index=" + value;
442 break;
431 case AX_ATTR_TABLE_ROW_COUNT: 443 case AX_ATTR_TABLE_ROW_COUNT:
432 result += " rows=" + value; 444 result += " rows=" + value;
433 break; 445 break;
434 case AX_ATTR_TABLE_COLUMN_COUNT: 446 case AX_ATTR_TABLE_COLUMN_COUNT:
435 result += " cols=" + value; 447 result += " cols=" + value;
436 break; 448 break;
437 case AX_ATTR_TABLE_CELL_COLUMN_INDEX: 449 case AX_ATTR_TABLE_CELL_COLUMN_INDEX:
438 result += " col=" + value; 450 result += " col=" + value;
439 break; 451 break;
440 case AX_ATTR_TABLE_CELL_ROW_INDEX: 452 case AX_ATTR_TABLE_CELL_ROW_INDEX:
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 } 808 }
797 } 809 }
798 810
799 if (!child_ids.empty()) 811 if (!child_ids.empty())
800 result += " child_ids=" + IntVectorToString(child_ids); 812 result += " child_ids=" + IntVectorToString(child_ids);
801 813
802 return result; 814 return result;
803 } 815 }
804 816
805 } // namespace ui 817 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | ui/accessibility/ax_tree_combiner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698