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

Unified Diff: content/shell/renderer/test_runner/web_ax_object_proxy.cc

Issue 616473002: Expose IA and IA2 role and state for HTML input type attributes related to date and time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/web_ax_object_proxy.cc
diff --git a/content/shell/renderer/test_runner/web_ax_object_proxy.cc b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
index ecbc044aad10ef53908e3a8ce4ba5221d3f7f42e..e6e92a0c54a87df95a94c48a5ccfa3a5cbafb38c 100644
--- a/content/shell/renderer/test_runner/web_ax_object_proxy.cc
+++ b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
@@ -58,6 +58,10 @@ std::string RoleToString(blink::WebAXRole role)
return result.append("Complementary");
case blink::WebAXRoleContentInfo:
return result.append("ContentInfo");
+ case blink::WebAXRoleDate:
+ return result.append("DateField");
+ case blink::WebAXRoleDateTime:
+ return result.append("TextField");
dmazzoni 2014/10/01 19:42:06 This should be DateTime or DateTimeField, right?
case blink::WebAXRoleDefinition:
return result.append("Definition");
case blink::WebAXRoleDescriptionListDetail:
@@ -230,6 +234,8 @@ std::string RoleToString(blink::WebAXRole role)
return result.append("TextArea");
case blink::WebAXRoleTextField:
return result.append("TextField");
+ case blink::WebAXRoleTime:
+ return result.append("Time");
case blink::WebAXRoleTimer:
return result.append("Timer");
case blink::WebAXRoleToggleButton:

Powered by Google App Engine
This is Rietveld 408576698