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

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

Issue 825613002: Expose html placeholder attribute as AXPlaceholder: <value> on MAC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 break; 272 break;
273 case AX_ATTR_LIVE_STATUS: 273 case AX_ATTR_LIVE_STATUS:
274 result += " live=" + value; 274 result += " live=" + value;
275 break; 275 break;
276 case AX_ATTR_CONTAINER_LIVE_RELEVANT: 276 case AX_ATTR_CONTAINER_LIVE_RELEVANT:
277 result += " container_relevant=" + value; 277 result += " container_relevant=" + value;
278 break; 278 break;
279 case AX_ATTR_CONTAINER_LIVE_STATUS: 279 case AX_ATTR_CONTAINER_LIVE_STATUS:
280 result += " container_live=" + value; 280 result += " container_live=" + value;
281 break; 281 break;
282 case AX_ATTR_PLACEHOLDER:
283 result += "placeholder" + value;
284 break;
282 case AX_ATTR_ROLE: 285 case AX_ATTR_ROLE:
283 result += " role=" + value; 286 result += " role=" + value;
284 break; 287 break;
285 case AX_ATTR_SHORTCUT: 288 case AX_ATTR_SHORTCUT:
286 result += " shortcut=" + value; 289 result += " shortcut=" + value;
287 break; 290 break;
288 case AX_ATTR_TEXT_INPUT_TYPE: 291 case AX_ATTR_TEXT_INPUT_TYPE:
289 result += " text_input_type=" + value; 292 result += " text_input_type=" + value;
290 break; 293 break;
291 case AX_ATTR_URL: 294 case AX_ATTR_URL:
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 } 410 }
408 } 411 }
409 412
410 if (!child_ids.empty()) 413 if (!child_ids.empty())
411 result += " child_ids=" + IntVectorToString(child_ids); 414 result += " child_ids=" + IntVectorToString(child_ids);
412 415
413 return result; 416 return result;
414 } 417 }
415 418
416 } // namespace ui 419 } // 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