Chromium Code Reviews| Index: content/browser/renderer_host/input/synthetic_gesture_target_base.cc |
| diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_base.cc b/content/browser/renderer_host/input/synthetic_gesture_target_base.cc |
| index 642d3afda6279bb7117d115f2d37557be70c6734..c8386881d5d99b005665ed2a03b1e9fecd22975f 100644 |
| --- a/content/browser/renderer_host/input/synthetic_gesture_target_base.cc |
| +++ b/content/browser/renderer_host/input/synthetic_gesture_target_base.cc |
| @@ -8,6 +8,7 @@ |
| #include "content/browser/renderer_host/render_widget_host_view_base.h" |
| #include "content/browser/renderer_host/ui_events_helper.h" |
| #include "content/common/input/input_event.h" |
| +#include "content/common/input_messages.h" |
| #include "third_party/WebKit/public/web/WebInputEvent.h" |
| #include "ui/events/event.h" |
| #include "ui/events/latency_info.h" |
| @@ -22,6 +23,7 @@ namespace content { |
| SyntheticGestureTargetBase::SyntheticGestureTargetBase( |
| RenderWidgetHostImpl* host) |
| : host_(host) { |
| + DCHECK(host); |
| } |
| SyntheticGestureTargetBase::~SyntheticGestureTargetBase() { |
| @@ -77,7 +79,9 @@ void SyntheticGestureTargetBase::DispatchWebMouseEventToPlatform( |
| } |
| void SyntheticGestureTargetBase::OnSyntheticGestureCompleted( |
| - SyntheticGestureNew::Result result) { |
| + SyntheticGesture::Result result) { |
| + // Ignoring the result for now. |
|
piman
2013/11/19 20:45:18
nit: is that a TODO / is there a bug? Otherwise, j
Dominik Grewe
2013/11/20 10:16:32
We currently don't plan to use the result but may
|
| + host_->Send(new InputMsg_SyntheticGestureCompleted(host_->GetRoutingID())); |
| } |
| void SyntheticGestureTargetBase::SetNeedsFlush() { |