| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ |
| 7 | 7 |
| 8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
| 9 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" | 9 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" |
| 10 #include "content/common/input/synthetic_gesture_params.h" | 10 #include "content/common/input/synthetic_gesture_params.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 const blink::WebMouseWheelEvent& web_wheel, | 33 const blink::WebMouseWheelEvent& web_wheel, |
| 34 const ui::LatencyInfo& latency_info) OVERRIDE; | 34 const ui::LatencyInfo& latency_info) OVERRIDE; |
| 35 virtual void DispatchWebMouseEventToPlatform( | 35 virtual void DispatchWebMouseEventToPlatform( |
| 36 const blink::WebMouseEvent& web_mouse, | 36 const blink::WebMouseEvent& web_mouse, |
| 37 const ui::LatencyInfo& latency_info) OVERRIDE; | 37 const ui::LatencyInfo& latency_info) OVERRIDE; |
| 38 | 38 |
| 39 // SyntheticGestureTarget: | 39 // SyntheticGestureTarget: |
| 40 virtual SyntheticGestureParams::GestureSourceType | 40 virtual SyntheticGestureParams::GestureSourceType |
| 41 GetDefaultSyntheticGestureSourceType() const OVERRIDE; | 41 GetDefaultSyntheticGestureSourceType() const OVERRIDE; |
| 42 | 42 |
| 43 virtual int GetTouchSlopInDips() const OVERRIDE; | 43 virtual float GetTouchSlopInDips() const OVERRIDE; |
| 44 |
| 45 virtual float GetMinScalingSpanInDips() const OVERRIDE; |
| 44 | 46 |
| 45 private: | 47 private: |
| 46 aura::Window* GetWindow() const; | 48 aura::Window* GetWindow() const; |
| 47 | 49 |
| 48 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); | 50 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); |
| 49 }; | 51 }; |
| 50 | 52 |
| 51 } // namespace content | 53 } // namespace content |
| 52 | 54 |
| 53 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ | 55 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ |
| OLD | NEW |