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

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

Powered by Google App Engine
This is Rietveld 408576698