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

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

Issue 755883006: Remove unused roles(EditableText, SplitGroup, GrowArea) from Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 65459ad8cdf2cb99ee42abe8c36a8fbf27494c6c..57b53b8323a552b41f0497f3940e406c57aa56d0 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3509,11 +3509,6 @@ void BrowserAccessibilityWin::InitRoleAndState() {
ia_role_ = ROLE_SYSTEM_CLIENT;
ia2_role_ = IA2_ROLE_EMBEDDED_OBJECT;
break;
- case ui::AX_ROLE_EDITABLE_TEXT:
- ia_role_ = ROLE_SYSTEM_TEXT;
- ia2_state_ |= IA2_STATE_SINGLE_LINE;
- ia2_state_ |= IA2_STATE_EDITABLE;
- break;
case ui::AX_ROLE_FIGCAPTION:
role_name_ = html_tag;
ia2_role_ = IA2_ROLE_CAPTION;
@@ -3550,10 +3545,6 @@ void BrowserAccessibilityWin::InitRoleAndState() {
}
break;
}
- case ui::AX_ROLE_GROW_AREA:
- ia_role_ = ROLE_SYSTEM_GRIP;
- ia_state_ |= STATE_SYSTEM_READONLY;
- break;
case ui::AX_ROLE_HEADING:
role_name_ = html_tag;
ia2_role_ = IA2_ROLE_HEADING;
@@ -3731,11 +3722,6 @@ void BrowserAccessibilityWin::InitRoleAndState() {
case ui::AX_ROLE_SPIN_BUTTON_PART:
ia_role_ = ROLE_SYSTEM_PUSHBUTTON;
break;
- case ui::AX_ROLE_SPLIT_GROUP:
- ia_role_ = ROLE_SYSTEM_CLIENT;
- ia2_role_ = IA2_ROLE_SPLIT_PANE;
- ia_state_ |= STATE_SYSTEM_READONLY;
- break;
case ui::AX_ROLE_ANNOTATION:
case ui::AX_ROLE_LIST_MARKER:
case ui::AX_ROLE_STATIC_TEXT:

Powered by Google App Engine
This is Rietveld 408576698