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

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

Issue 2054393002: Implemented IAccessible2 reverse relations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed content_browsertests. Created 4 years, 5 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 result += " name_from=" + ui::ToString( 429 result += " name_from=" + ui::ToString(
430 static_cast<ui::AXNameFrom>(int_attributes[i].second)); 430 static_cast<ui::AXNameFrom>(int_attributes[i].second));
431 break; 431 break;
432 case AX_ATTR_DESCRIPTION_FROM: 432 case AX_ATTR_DESCRIPTION_FROM:
433 result += " description_from=" + ui::ToString( 433 result += " description_from=" + ui::ToString(
434 static_cast<ui::AXDescriptionFrom>(int_attributes[i].second)); 434 static_cast<ui::AXDescriptionFrom>(int_attributes[i].second));
435 break; 435 break;
436 case AX_ATTR_ACTIVEDESCENDANT_ID: 436 case AX_ATTR_ACTIVEDESCENDANT_ID:
437 result += " activedescendant=" + value; 437 result += " activedescendant=" + value;
438 break; 438 break;
439 case AX_ATTR_MEMBER_OF_ID:
440 result += " member_of_id=" + value;
441 break;
439 case AX_ATTR_NEXT_ON_LINE_ID: 442 case AX_ATTR_NEXT_ON_LINE_ID:
440 result += " next_on_line_id=" + value; 443 result += " next_on_line_id=" + value;
441 break; 444 break;
442 case AX_ATTR_PREVIOUS_ON_LINE_ID: 445 case AX_ATTR_PREVIOUS_ON_LINE_ID:
443 result += " previous_on_line_id=" + value; 446 result += " previous_on_line_id=" + value;
444 break; 447 break;
445 case AX_ATTR_CHILD_TREE_ID: 448 case AX_ATTR_CHILD_TREE_ID:
446 result += " child_tree_id=" + value; 449 result += " child_tree_id=" + value;
447 break; 450 break;
448 case AX_ATTR_COLOR_VALUE: 451 case AX_ATTR_COLOR_VALUE:
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 } 738 }
736 } 739 }
737 740
738 if (!child_ids.empty()) 741 if (!child_ids.empty())
739 result += " child_ids=" + IntVectorToString(child_ids); 742 result += " child_ids=" + IntVectorToString(child_ids);
740 743
741 return result; 744 return result;
742 } 745 }
743 746
744 } // namespace ui 747 } // 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