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" |
11 | 11 |
12 namespace aura { | 12 namespace aura { |
13 class RootWindowHostDelegate; | 13 class WindowTreeHostDelegate; |
14 class Window; | 14 class Window; |
15 | 15 |
16 namespace client { | 16 namespace client { |
17 class ScreenPositionClient; | 17 class ScreenPositionClient; |
18 } | 18 } |
19 } // namespace aura | 19 } // namespace aura |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 | 22 |
23 class InputEvent; | 23 class InputEvent; |
(...skipping 18 matching lines...) Expand all Loading... |
42 virtual SyntheticGestureParams::GestureSourceType | 42 virtual SyntheticGestureParams::GestureSourceType |
43 GetDefaultSyntheticGestureSourceType() const OVERRIDE; | 43 GetDefaultSyntheticGestureSourceType() const OVERRIDE; |
44 virtual bool SupportsSyntheticGestureSourceType( | 44 virtual bool SupportsSyntheticGestureSourceType( |
45 SyntheticGestureParams::GestureSourceType gesture_source_type) const | 45 SyntheticGestureParams::GestureSourceType gesture_source_type) const |
46 OVERRIDE; | 46 OVERRIDE; |
47 | 47 |
48 virtual int GetTouchSlopInDips() const OVERRIDE; | 48 virtual int GetTouchSlopInDips() const OVERRIDE; |
49 | 49 |
50 private: | 50 private: |
51 aura::Window* GetWindow() const; | 51 aura::Window* GetWindow() const; |
52 aura::RootWindowHostDelegate* GetRootWindowHostDelegate() const; | 52 aura::WindowTreeHostDelegate* GetWindowTreeHostDelegate() const; |
53 aura::client::ScreenPositionClient* GetScreenPositionClient() const; | 53 aura::client::ScreenPositionClient* GetScreenPositionClient() const; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); | 55 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace content | 58 } // namespace content |
59 | 59 |
60 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ | 60 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ |
OLD | NEW |