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

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

Issue 758393002: Removing unused roles(7) 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 c8ee3ab8c123738028d9dd7922b86a0a3a8ded6b..32e2bcce160fde30bbb94b367f7e538363c67423 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3816,20 +3816,12 @@ void BrowserAccessibilityWin::InitRoleAndState() {
break;
// TODO(dmazzoni): figure out the proper MSAA role for all of these.
- case ui::AX_ROLE_BROWSER:
case ui::AX_ROLE_DIRECTORY:
- case ui::AX_ROLE_DRAWER:
- case ui::AX_ROLE_HELP_TAG:
case ui::AX_ROLE_IGNORED:
case ui::AX_ROLE_LOG:
- case ui::AX_ROLE_MATTE:
case ui::AX_ROLE_NONE:
case ui::AX_ROLE_PRESENTATIONAL:
- case ui::AX_ROLE_RULER_MARKER:
- case ui::AX_ROLE_SHEET:
case ui::AX_ROLE_SLIDER_THUMB:
- case ui::AX_ROLE_SYSTEM_WIDE:
- case ui::AX_ROLE_VALUE_INDICATOR:
default:
ia_role_ = ROLE_SYSTEM_CLIENT;
break;
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | content/renderer/accessibility/blink_ax_enum_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698