OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_ | 5 #ifndef REMOTING_CLIENT_GESTURE_INTERPRETER_H_ |
6 #define REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_ | 6 #define REMOTING_CLIENT_GESTURE_INTERPRETER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
| 10 #include "remoting/client/input/input_strategy.h" |
10 #include "remoting/client/ui/desktop_viewport.h" | 11 #include "remoting/client/ui/desktop_viewport.h" |
11 #include "remoting/client/ui/fling_animation.h" | 12 #include "remoting/client/ui/fling_animation.h" |
12 #include "remoting/client/ui/input_strategy.h" | |
13 #include "remoting/proto/event.pb.h" | 13 #include "remoting/proto/event.pb.h" |
14 | 14 |
15 namespace remoting { | 15 namespace remoting { |
16 | 16 |
17 class ChromotingSession; | 17 class ChromotingSession; |
18 class RendererProxy; | 18 class RendererProxy; |
19 | 19 |
20 // This is a class for interpreting a raw touch input into actions like moving | 20 // This is a class for interpreting a raw touch input into actions like moving |
21 // the viewport and injecting mouse clicks. | 21 // the viewport and injecting mouse clicks. |
22 class GestureInterpreter { | 22 class GestureInterpreter { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 FlingAnimation pan_animation_; | 111 FlingAnimation pan_animation_; |
112 FlingAnimation scroll_animation_; | 112 FlingAnimation scroll_animation_; |
113 | 113 |
114 // GestureInterpreter is neither copyable nor movable. | 114 // GestureInterpreter is neither copyable nor movable. |
115 GestureInterpreter(const GestureInterpreter&) = delete; | 115 GestureInterpreter(const GestureInterpreter&) = delete; |
116 GestureInterpreter& operator=(const GestureInterpreter&) = delete; | 116 GestureInterpreter& operator=(const GestureInterpreter&) = delete; |
117 }; | 117 }; |
118 | 118 |
119 } // namespace remoting | 119 } // namespace remoting |
120 #endif // REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_ | 120 #endif // REMOTING_CLIENT_GESTURE_INTERPRETER_H_ |
OLD | NEW |