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

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

Issue 2522543004: Add support for retrieving image thumbnails as part of the accessibility tree. (Closed)
Patch Set: Clarified maxSize 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
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | 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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 break; 609 break;
610 case AX_ATTR_DISPLAY: 610 case AX_ATTR_DISPLAY:
611 result += " display=" + value; 611 result += " display=" + value;
612 break; 612 break;
613 case AX_ATTR_FONT_FAMILY: 613 case AX_ATTR_FONT_FAMILY:
614 result += " font-family=" + value; 614 result += " font-family=" + value;
615 break; 615 break;
616 case AX_ATTR_HTML_TAG: 616 case AX_ATTR_HTML_TAG:
617 result += " html_tag=" + value; 617 result += " html_tag=" + value;
618 break; 618 break;
619 case AX_ATTR_IMAGE_DATA_URL:
620 result += " image_data_url=(" +
621 IntToString(static_cast<int>(value.size())) + " bytes)";
622 break;
619 case AX_ATTR_LANGUAGE: 623 case AX_ATTR_LANGUAGE:
620 result += " language=" + value; 624 result += " language=" + value;
621 break; 625 break;
622 case AX_ATTR_LIVE_RELEVANT: 626 case AX_ATTR_LIVE_RELEVANT:
623 result += " relevant=" + value; 627 result += " relevant=" + value;
624 break; 628 break;
625 case AX_ATTR_LIVE_STATUS: 629 case AX_ATTR_LIVE_STATUS:
626 result += " live=" + value; 630 result += " live=" + value;
627 break; 631 break;
628 case AX_ATTR_CONTAINER_LIVE_RELEVANT: 632 case AX_ATTR_CONTAINER_LIVE_RELEVANT:
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 } 785 }
782 } 786 }
783 787
784 if (!child_ids.empty()) 788 if (!child_ids.empty())
785 result += " child_ids=" + IntVectorToString(child_ids); 789 result += " child_ids=" + IntVectorToString(child_ids);
786 790
787 return result; 791 return result;
788 } 792 }
789 793
790 } // namespace ui 794 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698