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

Unified Diff: content/browser/accessibility/browser_accessibility_android.cc

Issue 1030333002: Chromium side Implementation of new roles added in ARIA 1.1 draft. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating failed expectations Created 5 years, 9 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/browser/accessibility/browser_accessibility_android.cc
diff --git a/content/browser/accessibility/browser_accessibility_android.cc b/content/browser/accessibility/browser_accessibility_android.cc
index 2d3f513af3a43c7316eb34cdb6cc58a68620c7e0..3cd374e7ea1f4626a310a9afd9122291c9e558d4 100644
--- a/content/browser/accessibility/browser_accessibility_android.cc
+++ b/content/browser/accessibility/browser_accessibility_android.cc
@@ -255,6 +255,7 @@ const char* BrowserAccessibilityAndroid::GetClassName() const {
const char* class_name = NULL;
switch (GetRole()) {
+ case ui::AX_ROLE_SEARCH_BOX:
case ui::AX_ROLE_SPIN_BUTTON:
case ui::AX_ROLE_TEXT_AREA:
case ui::AX_ROLE_TEXT_FIELD:
@@ -275,6 +276,7 @@ const char* BrowserAccessibilityAndroid::GetClassName() const {
class_name = "android.widget.Button";
break;
case ui::AX_ROLE_CHECK_BOX:
+ case ui::AX_ROLE_SWITCH:
class_name = "android.widget.CheckBox";
break;
case ui::AX_ROLE_RADIO_BUTTON:
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | content/browser/accessibility/browser_accessibility_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698