| Index: chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc
|
| diff --git a/chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc b/chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc
|
| index bab270e451dbfd7a048f84fac5164b7dbeadcdb0..922dd7f679beb4a22869a0e6b1c62bb6e902d8c7 100644
|
| --- a/chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc
|
| +++ b/chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc
|
| @@ -209,6 +209,9 @@ void AccessibilityEventRouterViews::DispatchAccessibilityEvent(
|
| case ui::AX_ROLE_SLIDER:
|
| SendSliderNotification(view, type, profile);
|
| break;
|
| + case ui::AX_ROLE_STATIC_TEXT:
|
| + SendStaticTextNotification(view, type, profile);
|
| + break;
|
| case ui::AX_ROLE_TREE:
|
| SendTreeNotification(view, type, profile);
|
| break;
|
| @@ -238,6 +241,16 @@ void AccessibilityEventRouterViews::SendButtonNotification(
|
| }
|
|
|
| // static
|
| +void AccessibilityEventRouterViews::SendStaticTextNotification(
|
| + views::View* view,
|
| + ui::AXEvent event,
|
| + Profile* profile) {
|
| + AccessibilityStaticTextInfo info(
|
| + profile, GetViewName(view), GetViewContext(view));
|
| + SendControlAccessibilityNotification(event, &info);
|
| +}
|
| +
|
| +// static
|
| void AccessibilityEventRouterViews::SendLinkNotification(
|
| views::View* view,
|
| ui::AXEvent event,
|
|
|