| Index: ui/views/accessibility/ax_window_obj_wrapper.cc
|
| diff --git a/ui/views/accessibility/ax_window_obj_wrapper.cc b/ui/views/accessibility/ax_window_obj_wrapper.cc
|
| index c1059476a0ad88a89a17ffe2c6f5810deebb40be..b2d80b9b325660f2dacb1a17f8d089a50cd1890c 100644
|
| --- a/ui/views/accessibility/ax_window_obj_wrapper.cc
|
| +++ b/ui/views/accessibility/ax_window_obj_wrapper.cc
|
| @@ -76,4 +76,14 @@ void AXWindowObjWrapper::OnWindowHierarchyChanged(
|
| AXAuraObjCache::GetInstance()->Remove(params.target, params.old_parent);
|
| }
|
|
|
| +void AXWindowObjWrapper::OnWindowBoundsChanged(aura::Window* window,
|
| + const gfx::Rect& old_bounds,
|
| + const gfx::Rect& new_bounds) {
|
| + Widget* widget = Widget::GetWidgetForNativeView(window);
|
| + if (widget) {
|
| + widget->GetRootView()->NotifyAccessibilityEvent(
|
| + ui::AX_EVENT_LOCATION_CHANGED, true);
|
| + }
|
| +}
|
| +
|
| } // namespace views
|
|
|