| Index: views/widget/root_view.cc
|
| diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc
|
| index 64142f4c32570bc84340a3257fe3d3d55bcce9e3..85cb53736ea5ae2aa52b4bdf1780e4f299d12355 100644
|
| --- a/views/widget/root_view.cc
|
| +++ b/views/widget/root_view.cc
|
| @@ -367,6 +367,10 @@ bool RootView::OnMouseWheel(const MouseWheelEvent& event) {
|
|
|
| ui::TouchStatus RootView::OnTouchEvent(const TouchEvent& event) {
|
| TouchEvent e(event, this);
|
| + if (capture_view_) {
|
| + TouchEvent ce(e, this, capture_view_);
|
| + return capture_view_->OnTouchEvent(ce);
|
| + }
|
|
|
| // If touch_pressed_handler_ is non null, we are currently processing
|
| // a touch down on the screen situation. In that case we send the
|
|
|