| Index: webkit/glue/webwidget_impl.cc
|
| diff --git a/webkit/glue/webwidget_impl.cc b/webkit/glue/webwidget_impl.cc
|
| index c738cdfe35608bb1d48816f24a8340eeb2778533..ab5ea154268f9ef8e9e3221cb8ba95481caddb04 100644
|
| --- a/webkit/glue/webwidget_impl.cc
|
| +++ b/webkit/glue/webwidget_impl.cc
|
| @@ -97,13 +97,14 @@ void WebWidgetImpl::MouseLeave(const WebMouseEvent& event) {
|
| widget_->handleMouseMoveEvent(MakePlatformMouseEvent(widget_, event));
|
| }
|
|
|
| -void WebWidgetImpl::MouseDown(const WebMouseEvent& event) {
|
| - widget_->handleMouseDownEvent(MakePlatformMouseEvent(widget_, event));
|
| +bool WebWidgetImpl::MouseDown(const WebMouseEvent& event) {
|
| + return widget_->handleMouseDownEvent(MakePlatformMouseEvent(widget_, event));
|
| }
|
|
|
| -void WebWidgetImpl::MouseUp(const WebMouseEvent& event) {
|
| +bool WebWidgetImpl::MouseUp(const WebMouseEvent& event) {
|
| MouseCaptureLost();
|
| - widget_->handleMouseReleaseEvent(MakePlatformMouseEvent(widget_, event));
|
| + return widget_->handleMouseReleaseEvent(
|
| + MakePlatformMouseEvent(widget_, event));
|
| }
|
|
|
| void WebWidgetImpl::MouseWheel(const WebMouseWheelEvent& event) {
|
| @@ -183,12 +184,10 @@ bool WebWidgetImpl::HandleInputEvent(const WebInputEvent* input_event) {
|
| return true;
|
|
|
| case WebInputEvent::MouseDown:
|
| - MouseDown(*static_cast<const WebMouseEvent*>(input_event));
|
| - return true;
|
| + return MouseDown(*static_cast<const WebMouseEvent*>(input_event));
|
|
|
| case WebInputEvent::MouseUp:
|
| - MouseUp(*static_cast<const WebMouseEvent*>(input_event));
|
| - return true;
|
| + return MouseUp(*static_cast<const WebMouseEvent*>(input_event));
|
|
|
| // In Windows, RawKeyDown only has information about the physical key, but
|
| // for "selection", we need the information about the character the key
|
|
|