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: |