summaryrefslogtreecommitdiffstats
path: root/ui/accessibility/ax_node_data.cc
diff options
context:
space:
mode:
authorshreeram.k <shreeram.k@samsung.com>2015-01-05 03:59:32 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-05 12:00:11 +0000
commite286b5081d0198fb18dd3c4cbe364de424302936 (patch)
tree734c222d1f9668a69af40fe327b82f1a438ec86f /ui/accessibility/ax_node_data.cc
parent1031ecd676e38ba05656aecfb9f8af8903c900fa (diff)
downloadchromium_src-e286b5081d0198fb18dd3c4cbe364de424302936.zip
chromium_src-e286b5081d0198fb18dd3c4cbe364de424302936.tar.gz
chromium_src-e286b5081d0198fb18dd3c4cbe364de424302936.tar.bz2
Expose html placeholder attribute as AXPlaceholder: <value> on MAC.
This CL depends on https://codereview.chromium.org/813473004/ BUG=440829,445929 Review URL: https://codereview.chromium.org/825613002 Cr-Commit-Position: refs/heads/master@{#309908}
Diffstat (limited to 'ui/accessibility/ax_node_data.cc')
-rw-r--r--ui/accessibility/ax_node_data.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index a14e4de..2f63c83 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -279,6 +279,9 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_CONTAINER_LIVE_STATUS:
result += " container_live=" + value;
break;
+ case AX_ATTR_PLACEHOLDER:
+ result += "placeholder" + value;
+ break;
case AX_ATTR_ROLE:
result += " role=" + value;
break;