summaryrefslogtreecommitdiffstats
path: root/chromium/content/browser/renderer_host/input/synthetic_gesture_target_aura.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/input/synthetic_gesture_target_aura.h')
-rw-r--r--chromium/content/browser/renderer_host/input/synthetic_gesture_target_aura.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/chromium/content/browser/renderer_host/input/synthetic_gesture_target_aura.h b/chromium/content/browser/renderer_host/input/synthetic_gesture_target_aura.h
index 9befda688f4..f3634d61162 100644
--- a/chromium/content/browser/renderer_host/input/synthetic_gesture_target_aura.h
+++ b/chromium/content/browser/renderer_host/input/synthetic_gesture_target_aura.h
@@ -10,13 +10,16 @@
#include "content/common/input/synthetic_gesture_params.h"
namespace aura {
-class RootWindowHostDelegate;
+class Window;
+class WindowEventDispatcher;
+
+namespace client {
+class ScreenPositionClient;
}
+} // namespace aura
namespace content {
-class InputEvent;
-
// SyntheticGestureTarget implementation for aura
class SyntheticGestureTargetAura : public SyntheticGestureTargetBase {
public:
@@ -36,14 +39,13 @@ class SyntheticGestureTargetAura : public SyntheticGestureTargetBase {
// SyntheticGestureTarget:
virtual SyntheticGestureParams::GestureSourceType
GetDefaultSyntheticGestureSourceType() const OVERRIDE;
- virtual bool SupportsSyntheticGestureSourceType(
- SyntheticGestureParams::GestureSourceType gesture_source_type) const
- OVERRIDE;
- virtual int GetTouchSlopInDips() const OVERRIDE;
+ virtual float GetTouchSlopInDips() const OVERRIDE;
+
+ virtual float GetMinScalingSpanInDips() const OVERRIDE;
private:
- aura::RootWindowHostDelegate* GetRootWindowHostDelegate() const;
+ aura::Window* GetWindow() const;
DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura);
};