| Index: content/browser/renderer_host/render_widget_host_view_win.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_win.h b/content/browser/renderer_host/render_widget_host_view_win.h
|
| index e1178947cbc53d71ca5eca1e5e9484fc07b00ea2..e0a4f5594e3da0ae88efa83a45e40056b944c623 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_win.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_win.h
|
| @@ -24,6 +24,7 @@
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| +#include "ui/base/gestures/gesture_types.h"
|
| #include "ui/base/win/ime_input.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/gfx/point.h"
|
| @@ -48,6 +49,7 @@ class Message;
|
| }
|
|
|
| namespace ui {
|
| +class GestureRecognizer;
|
| class ViewProp;
|
| }
|
|
|
| @@ -94,7 +96,8 @@ class RenderWidgetHostViewWin
|
| public content::RenderWidgetHostViewBase,
|
| public content::NotificationObserver,
|
| public BrowserAccessibilityDelegate,
|
| - public gfx::SysColorChangeListener {
|
| + public gfx::SysColorChangeListener,
|
| + public ui::GestureEventHelper {
|
| public:
|
| virtual ~RenderWidgetHostViewWin();
|
|
|
| @@ -248,6 +251,23 @@ class RenderWidgetHostViewWin
|
| // Implementation of SysColorChangeListener:
|
| virtual void OnSysColorChange() OVERRIDE;
|
|
|
| + // Overridden from ui::GestureEventHelper.
|
| + virtual ui::GestureEvent* CreateGestureEvent(
|
| + ui::EventType type,
|
| + const gfx::Point& location,
|
| + int flags,
|
| + const base::Time& time,
|
| + float param_first,
|
| + float param_second,
|
| + unsigned int touch_id_bitfield) OVERRIDE;
|
| + virtual ui::TouchEvent* CreateTouchEvent(
|
| + ui::EventType type,
|
| + const gfx::Point& location,
|
| + int touch_id,
|
| + const base::TimeDelta& time_stamp) OVERRIDE;
|
| + virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE;
|
| + virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE;
|
| +
|
| protected:
|
| friend class content::RenderWidgetHostView;
|
|
|
|
|