| 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/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" | 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" |
| 11 #include "content/common/input/synthetic_gesture_params.h" | 11 #include "content/common/input/synthetic_gesture_params.h" |
| 12 | 12 |
| 13 namespace aura { | 13 namespace aura { |
| 14 class Window; | 14 class Window; |
| 15 class WindowEventDispatcher; | |
| 16 | |
| 17 namespace client { | |
| 18 class ScreenPositionClient; | |
| 19 } | |
| 20 } // namespace aura | 15 } // namespace aura |
| 21 | 16 |
| 22 namespace content { | 17 namespace content { |
| 23 | 18 |
| 24 // SyntheticGestureTarget implementation for aura | 19 // SyntheticGestureTarget implementation for aura |
| 25 class SyntheticGestureTargetAura : public SyntheticGestureTargetBase { | 20 class SyntheticGestureTargetAura : public SyntheticGestureTargetBase { |
| 26 public: | 21 public: |
| 27 explicit SyntheticGestureTargetAura(RenderWidgetHostImpl* host); | 22 explicit SyntheticGestureTargetAura(RenderWidgetHostImpl* host); |
| 28 | 23 |
| 29 // SyntheticGestureTargetBase: | 24 // SyntheticGestureTargetBase: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 54 // device_scale_factor to convert the input event from DIP to device pixel | 49 // device_scale_factor to convert the input event from DIP to device pixel |
| 55 // before dispatching it into platform. | 50 // before dispatching it into platform. |
| 56 float device_scale_factor_; | 51 float device_scale_factor_; |
| 57 | 52 |
| 58 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); | 53 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); |
| 59 }; | 54 }; |
| 60 | 55 |
| 61 } // namespace content | 56 } // namespace content |
| 62 | 57 |
| 63 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ | 58 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ |
| OLD | NEW |