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

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 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 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 break; 414 break;
415 case AX_ATTR_HIERARCHICAL_LEVEL: 415 case AX_ATTR_HIERARCHICAL_LEVEL:
416 result += " level=" + value; 416 result += " level=" + value;
417 break; 417 break;
418 case AX_ATTR_TEXT_SEL_START: 418 case AX_ATTR_TEXT_SEL_START:
419 result += " sel_start=" + value; 419 result += " sel_start=" + value;
420 break; 420 break;
421 case AX_ATTR_TEXT_SEL_END: 421 case AX_ATTR_TEXT_SEL_END:
422 result += " sel_end=" + value; 422 result += " sel_end=" + value;
423 break; 423 break;
424 case AX_ATTR_ARIA_COL_COUNT:
425 result += " aria_col_count=" + value;
426 break;
427 case AX_ATTR_ARIA_COL_INDEX:
428 result += " aria_col_index=" + value;
429 break;
430 case AX_ATTR_ARIA_ROW_COUNT:
431 result += " aria_row_count=" + value;
432 break;
433 case AX_ATTR_ARIA_ROW_INDEX:
434 result += " aria_row_index=" + value;
435 break;
424 case AX_ATTR_TABLE_ROW_COUNT: 436 case AX_ATTR_TABLE_ROW_COUNT:
425 result += " rows=" + value; 437 result += " rows=" + value;
426 break; 438 break;
427 case AX_ATTR_TABLE_COLUMN_COUNT: 439 case AX_ATTR_TABLE_COLUMN_COUNT:
428 result += " cols=" + value; 440 result += " cols=" + value;
429 break; 441 break;
430 case AX_ATTR_TABLE_CELL_COLUMN_INDEX: 442 case AX_ATTR_TABLE_CELL_COLUMN_INDEX:
431 result += " col=" + value; 443 result += " col=" + value;
432 break; 444 break;
433 case AX_ATTR_TABLE_CELL_ROW_INDEX: 445 case AX_ATTR_TABLE_CELL_ROW_INDEX:
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 } 802 }
791 } 803 }
792 804
793 if (!child_ids.empty()) 805 if (!child_ids.empty())
794 result += " child_ids=" + IntVectorToString(child_ids); 806 result += " child_ids=" + IntVectorToString(child_ids);
795 807
796 return result; 808 return result;
797 } 809 }
798 810
799 } // namespace ui 811 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698