| Index: ui/views/widget/root_view.cc
|
| diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc
|
| index 1270bf757e4f912c9a357bf7c594251c701c035d..57f0d82c8565ed821f34c4b0f3a3fc120a1bc8eb 100644
|
| --- a/ui/views/widget/root_view.cc
|
| +++ b/ui/views/widget/root_view.cc
|
| @@ -590,6 +590,19 @@ bool RootView::OnMouseWheel(const ui::MouseWheelEvent& event) {
|
| return event.handled();
|
| }
|
|
|
| +void RootView::OnAccessibilityMouseEvent(ui::MouseEvent* event) {
|
| + for (View* v = GetEventHandlerForPoint(event->location());
|
| + v && v != this && !event->handled(); v = v->parent()) {
|
| + ui::EventDispatchDetails dispatch_details =
|
| + DispatchEvent(v, const_cast<ui::MouseEvent*>(event));
|
| + if (dispatch_details.dispatcher_destroyed ||
|
| + dispatch_details.target_destroyed) {
|
| + return;
|
| + }
|
| + return;
|
| + }
|
| +}
|
| +
|
| void RootView::SetMouseHandler(View* new_mh) {
|
| // If we're clearing the mouse handler, clear explicit_mouse_handler_ as well.
|
| explicit_mouse_handler_ = (new_mh != NULL);
|
|
|