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

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: DISABLE AX test for input type month for WIN Platform 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 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 256eea53916f98afab7ac1d11d3ae278d495994d..c57636b44ffda66441f4d3f80161fdaf8a02b704 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("DateTimeField");
case blink::WebAXRoleDefinition:
return result.append("Definition");
case blink::WebAXRoleDescriptionListDetail:
@@ -236,6 +240,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:
« no previous file with comments | « content/renderer/accessibility/blink_ax_enum_conversion.cc ('k') | content/test/data/accessibility/input-date.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698