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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 FlingAnimation pan_animation_; | 107 FlingAnimation pan_animation_; |
108 FlingAnimation scroll_animation_; | 108 FlingAnimation scroll_animation_; |
109 | 109 |
110 // GestureInterpreter is neither copyable nor movable. | 110 // GestureInterpreter is neither copyable nor movable. |
111 GestureInterpreter(const GestureInterpreter&) = delete; | 111 GestureInterpreter(const GestureInterpreter&) = delete; |
112 GestureInterpreter& operator=(const GestureInterpreter&) = delete; | 112 GestureInterpreter& operator=(const GestureInterpreter&) = delete; |
113 }; | 113 }; |
114 | 114 |
115 } // namespace remoting | 115 } // namespace remoting |
116 #endif // REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_ | 116 #endif // REMOTING_CLIENT_GESTURE_INTERPRETER_H_ |
OLD | NEW |