Commit d2528e60 authored by pkotwicz@chromium.org's avatar pkotwicz@chromium.org

Added code to propagate clicks to parents of the target as well.

Tested using html5 drag demo and bookmark dragging to make sure that the patch didn't break dragging

BUG = 105886
Test = Manual


Review URL: http://codereview.chromium.org/8788002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114117 0039d316-1c4b-4281-b951-d872f2087c98
parent 12d28546
...@@ -519,6 +519,10 @@ bool RenderWidgetHostViewAura::OnMouseEvent(aura::MouseEvent* event) { ...@@ -519,6 +519,10 @@ bool RenderWidgetHostViewAura::OnMouseEvent(aura::MouseEvent* event) {
break; break;
} }
// Needed to propagate mouse event to native_tab_contents_view_aura.
// TODO(pkotwicz): Find a better way of doing this.
window_->parent()->delegate()->OnMouseEvent(event);
// Return true so that we receive released/drag events. // Return true so that we receive released/drag events.
return true; return true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment