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

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

Issue 559343002: Add AX attribute conversion for input type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-generated test results Created 6 years, 2 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 break; 269 break;
270 case AX_ATTR_CONTAINER_LIVE_STATUS: 270 case AX_ATTR_CONTAINER_LIVE_STATUS:
271 result += " container_live=" + value; 271 result += " container_live=" + value;
272 break; 272 break;
273 case AX_ATTR_ROLE: 273 case AX_ATTR_ROLE:
274 result += " role=" + value; 274 result += " role=" + value;
275 break; 275 break;
276 case AX_ATTR_SHORTCUT: 276 case AX_ATTR_SHORTCUT:
277 result += " shortcut=" + value; 277 result += " shortcut=" + value;
278 break; 278 break;
279 case AX_ATTR_TEXT_INPUT_TYPE:
280 result += " text_input_type=" + value;
281 break;
279 case AX_ATTR_URL: 282 case AX_ATTR_URL:
280 result += " url=" + value; 283 result += " url=" + value;
281 break; 284 break;
282 case AX_ATTR_NAME: 285 case AX_ATTR_NAME:
283 result += " name=" + value; 286 result += " name=" + value;
284 break; 287 break;
285 case AX_ATTR_VALUE: 288 case AX_ATTR_VALUE:
286 result += " value=" + value; 289 result += " value=" + value;
287 break; 290 break;
288 case AX_STRING_ATTRIBUTE_NONE: 291 case AX_STRING_ATTRIBUTE_NONE:
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 398 }
396 } 399 }
397 400
398 if (!child_ids.empty()) 401 if (!child_ids.empty())
399 result += " child_ids=" + IntVectorToString(child_ids); 402 result += " child_ids=" + IntVectorToString(child_ids);
400 403
401 return result; 404 return result;
402 } 405 }
403 406
404 } // namespace ui 407 } // 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