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

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

Issue 656683004: Add conversion rule of WebAXRoleBlockquote (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased wihtout actual change 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/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 acfc35c1b6c901a24e544b525e7296dbbdb3d950..103221cf696c60d6787b5c4865bdb8996141f85a 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3401,6 +3401,10 @@ void BrowserAccessibilityWin::InitRoleAndState() {
ia_role_ = ROLE_SYSTEM_GROUPING;
ia2_role_ = IA2_ROLE_HEADER;
break;
+ case ui::AX_ROLE_BLOCKQUOTE:
+ role_name_ = html_tag;
+ ia2_role_ = IA2_ROLE_SECTION;
+ break;
case ui::AX_ROLE_BUSY_INDICATOR:
ia_role_ = ROLE_SYSTEM_ANIMATION;
ia_state_ |= STATE_SYSTEM_READONLY;
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698