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

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

Issue 2141013004: Mac a11y: Add Help, TopLevelUIElement, and Window accessibility attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add null check for NVA::GetTopLevelWidget(). 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
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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 break; 563 break;
564 case AX_ATTR_DESCRIPTION: 564 case AX_ATTR_DESCRIPTION:
565 result += " description=" + value; 565 result += " description=" + value;
566 break; 566 break;
567 case AX_ATTR_DISPLAY: 567 case AX_ATTR_DISPLAY:
568 result += " display=" + value; 568 result += " display=" + value;
569 break; 569 break;
570 case AX_ATTR_FONT_FAMILY: 570 case AX_ATTR_FONT_FAMILY:
571 result += " font-family=" + value; 571 result += " font-family=" + value;
572 break; 572 break;
573 case AX_ATTR_HELP_TEXT:
574 result += " help_text=" + value;
575 break;
573 case AX_ATTR_HTML_TAG: 576 case AX_ATTR_HTML_TAG:
574 result += " html_tag=" + value; 577 result += " html_tag=" + value;
575 break; 578 break;
576 case AX_ATTR_LANGUAGE: 579 case AX_ATTR_LANGUAGE:
577 result += " language=" + value; 580 result += " language=" + value;
578 break; 581 break;
579 case AX_ATTR_LIVE_RELEVANT: 582 case AX_ATTR_LIVE_RELEVANT:
580 result += " relevant=" + value; 583 result += " relevant=" + value;
581 break; 584 break;
582 case AX_ATTR_LIVE_STATUS: 585 case AX_ATTR_LIVE_STATUS:
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 } 741 }
739 } 742 }
740 743
741 if (!child_ids.empty()) 744 if (!child_ids.empty())
742 result += " child_ids=" + IntVectorToString(child_ids); 745 result += " child_ids=" + IntVectorToString(child_ids);
743 746
744 return result; 747 return result;
745 } 748 }
746 749
747 } // namespace ui 750 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698