| Index: chrome/browser/ui/views/chrome_views_delegate.cc
|
| diff --git a/chrome/browser/ui/views/chrome_views_delegate.cc b/chrome/browser/ui/views/chrome_views_delegate.cc
|
| index 1bb591c6857ddd0d44239a94101381539ba9ce35..7fb6865e68dced3135f7be99ff4895a3ab14e838 100644
|
| --- a/chrome/browser/ui/views/chrome_views_delegate.cc
|
| +++ b/chrome/browser/ui/views/chrome_views_delegate.cc
|
| @@ -19,6 +19,10 @@
|
| #include "components/version_info/version_info.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/context_factory.h"
|
| +#include "content/public/browser/focused_node_details.h"
|
| +#include "content/public/browser/notification_details.h"
|
| +#include "content/public/browser/notification_service.h"
|
| +#include "content/public/browser/notification_types.h"
|
| #include "grit/chrome_unscaled_resources.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/ui_base_switches.h"
|
| @@ -255,6 +259,14 @@ bool ChromeViewsDelegate::GetSavedWindowPlacement(
|
| void ChromeViewsDelegate::NotifyAccessibilityEvent(
|
| views::View* view, ui::AXEvent event_type) {
|
| #if defined(USE_AURA)
|
| + bool is_editable_node = false;
|
| + gfx::Rect bounds_in_screen = view->GetBoundsInScreen();
|
| + content::FocusedNodeDetails details = {is_editable_node, bounds_in_screen};
|
| + content::NotificationService::current()->Notify(
|
| + content::NOTIFICATION_FOCUS_CHANGED_IN_PAGE,
|
| + content::Source<views::View>(view),
|
| + content::Details<content::FocusedNodeDetails>(&details));
|
| +
|
| AutomationManagerAura::GetInstance()->HandleEvent(
|
| GetProfileForWindow(view->GetWidget()), view, event_type);
|
| #endif
|
|
|