Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_impl.h |
| diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
| index 31ba37237dfcbb6259f1c881962a206e270cd179..2355f5c4b1acb710749575f7e345bb982c744b80 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.h |
| +++ b/content/browser/renderer_host/render_widget_host_impl.h |
| @@ -25,8 +25,9 @@ |
| #include "build/build_config.h" |
| #include "content/browser/renderer_host/input/input_ack_handler.h" |
| #include "content/browser/renderer_host/input/input_router_client.h" |
| -#include "content/browser/renderer_host/synthetic_gesture_controller.h" |
| +#include "content/browser/renderer_host/input/synthetic_gesture_controller.h" |
|
jdduke (slow)
2013/11/18 16:32:55
You can forward declare SyntheticGestureController
Dominik Grewe
2013/11/18 17:48:05
scoped_ptr<> doesn't like incomplete types. If I d
Dominik Grewe
2013/11/18 18:09:41
I was wrong. This is now fixed in ps3.
|
| #include "content/common/browser_rendering_stats.h" |
| +#include "content/common/input/synthetic_gesture_packet.h" |
| #include "content/common/view_message_enums.h" |
| #include "content/port/browser/event_with_latency_info.h" |
| #include "content/port/common/input_event_ack_state.h" |
| @@ -82,7 +83,6 @@ class MockRenderWidgetHost; |
| class OverscrollController; |
| class RenderWidgetHostDelegate; |
| class RenderWidgetHostViewPort; |
| -class SyntheticGestureController; |
| struct EditCommand; |
| // This implements the RenderWidgetHost interface that is exposed to |
| @@ -511,8 +511,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| return overscroll_controller_.get(); |
| } |
| - base::TimeDelta GetSyntheticGestureMessageInterval() const; |
| - |
| // Sets whether the overscroll controller should be enabled for this page. |
| void SetOverscrollControllerEnabled(bool enabled); |
| @@ -660,10 +658,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| gfx::Vector2dF current_fling_velocity); |
| void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| void OnUpdateIsDelayed(); |
| - void OnBeginSmoothScroll( |
| - const ViewHostMsg_BeginSmoothScroll_Params& params); |
| - void OnBeginPinch( |
| - const ViewHostMsg_BeginPinch_Params& params); |
| + void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
| virtual void OnFocus(); |
| virtual void OnBlur(); |
| void OnSetCursor(const WebCursor& cursor); |
| @@ -903,7 +898,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| - SyntheticGestureController synthetic_gesture_controller_; |
| + scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_; |
| // Receives and handles all input events. |
| scoped_ptr<InputRouter> input_router_; |