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

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

Issue 558073002: Hook up guest browser plugins to the accessibility tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross_process_iframes_plugins_3
Patch Set: Rebase Created 6 years, 3 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') | 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 <set> 7 #include <set>
8 8
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 break; 336 break;
337 case AX_ATTR_CAN_SET_VALUE: 337 case AX_ATTR_CAN_SET_VALUE:
338 result += " can_set_value=" + value; 338 result += " can_set_value=" + value;
339 break; 339 break;
340 case AX_ATTR_UPDATE_LOCATION_ONLY: 340 case AX_ATTR_UPDATE_LOCATION_ONLY:
341 result += " update_location_only=" + value; 341 result += " update_location_only=" + value;
342 break; 342 break;
343 case AX_ATTR_CANVAS_HAS_FALLBACK: 343 case AX_ATTR_CANVAS_HAS_FALLBACK:
344 result += " has_fallback=" + value; 344 result += " has_fallback=" + value;
345 break; 345 break;
346 case AX_ATTR_IS_AX_TREE_HOST:
347 result += " is_ax_tree_host=" + value;
348 break;
346 case AX_BOOL_ATTRIBUTE_NONE: 349 case AX_BOOL_ATTRIBUTE_NONE:
347 break; 350 break;
348 } 351 }
349 } 352 }
350 353
351 for (size_t i = 0; i < intlist_attributes.size(); ++i) { 354 for (size_t i = 0; i < intlist_attributes.size(); ++i) {
352 const std::vector<int32>& values = intlist_attributes[i].second; 355 const std::vector<int32>& values = intlist_attributes[i].second;
353 switch (intlist_attributes[i].first) { 356 switch (intlist_attributes[i].first) {
354 case AX_ATTR_INDIRECT_CHILD_IDS: 357 case AX_ATTR_INDIRECT_CHILD_IDS:
355 result += " indirect_child_ids=" + IntVectorToString(values); 358 result += " indirect_child_ids=" + IntVectorToString(values);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 } 395 }
393 } 396 }
394 397
395 if (!child_ids.empty()) 398 if (!child_ids.empty())
396 result += " child_ids=" + IntVectorToString(child_ids); 399 result += " child_ids=" + IntVectorToString(child_ids);
397 400
398 return result; 401 return result;
399 } 402 }
400 403
401 } // namespace ui 404 } // 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