| 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_GESTURE_INTERPRETER_H_ | 5 #ifndef REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_ |
| 6 #define REMOTING_CLIENT_GESTURE_INTERPRETER_H_ | 6 #define REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "remoting/client/chromoting_session.h" | 10 #include "remoting/client/chromoting_session.h" |
| 11 #include "remoting/client/desktop_viewport.h" | 11 #include "remoting/client/ui/desktop_viewport.h" |
| 12 #include "remoting/client/fling_animation.h" | 12 #include "remoting/client/ui/fling_animation.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 InputStrategy; | 17 class InputStrategy; |
| 18 | 18 |
| 19 // This is a class for interpreting a raw touch input into actions like moving | 19 // This is a class for interpreting a raw touch input into actions like moving |
| 20 // the viewport and injecting mouse clicks. | 20 // the viewport and injecting mouse clicks. |
| 21 class GestureInterpreter { | 21 class GestureInterpreter { |
| 22 public: | 22 public: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 bool is_dragging_mode_ = false; | 71 bool is_dragging_mode_ = false; |
| 72 | 72 |
| 73 FlingAnimation pan_animation_; | 73 FlingAnimation pan_animation_; |
| 74 | 74 |
| 75 // GestureInterpreter is neither copyable nor movable. | 75 // GestureInterpreter is neither copyable nor movable. |
| 76 GestureInterpreter(const GestureInterpreter&) = delete; | 76 GestureInterpreter(const GestureInterpreter&) = delete; |
| 77 GestureInterpreter& operator=(const GestureInterpreter&) = delete; | 77 GestureInterpreter& operator=(const GestureInterpreter&) = delete; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace remoting | 80 } // namespace remoting |
| 81 #endif // REMOTING_CLIENT_GESTURE_INTERPRETER_H_ | 81 #endif // REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_ |
| OLD | NEW |