| 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_SIMULATED_TOUCH_INPUT_STRATEGY_H_ | 5 #ifndef REMOTING_CLIENT_UI_SIMULATED_TOUCH_INPUT_STRATEGY_H_ |
| 6 #define REMOTING_CLIENT_SIMULATED_TOUCH_INPUT_STRATEGY_H_ | 6 #define REMOTING_CLIENT_UI_SIMULATED_TOUCH_INPUT_STRATEGY_H_ |
| 7 | 7 |
| 8 #include "remoting/client/input_strategy.h" | 8 #include "remoting/client/ui/input_strategy.h" |
| 9 | 9 |
| 10 namespace remoting { | 10 namespace remoting { |
| 11 | 11 |
| 12 // This strategy directly translates all operations on the OpenGL view into | 12 // This strategy directly translates all operations on the OpenGL view into |
| 13 // corresponding operations on the desktop. It doesn't maintain the cursor | 13 // corresponding operations on the desktop. It doesn't maintain the cursor |
| 14 // positions separately -- the positions come from the location of the touch. | 14 // positions separately -- the positions come from the location of the touch. |
| 15 class DirectInputStrategy : public InputStrategy { | 15 class DirectInputStrategy : public InputStrategy { |
| 16 public: | 16 public: |
| 17 DirectInputStrategy(); | 17 DirectInputStrategy(); |
| 18 ~DirectInputStrategy() override; | 18 ~DirectInputStrategy() override; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 bool IsCursorVisible() const override; | 38 bool IsCursorVisible() const override; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 // TouchInputStrategy is neither copyable nor movable. | 41 // TouchInputStrategy is neither copyable nor movable. |
| 42 DirectInputStrategy(const DirectInputStrategy&) = delete; | 42 DirectInputStrategy(const DirectInputStrategy&) = delete; |
| 43 DirectInputStrategy& operator=(const DirectInputStrategy&) = delete; | 43 DirectInputStrategy& operator=(const DirectInputStrategy&) = delete; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace remoting | 46 } // namespace remoting |
| 47 #endif // REMOTING_CLIENT_SIMULATED_TOUCH_INPUT_STRATEGY_H_ | 47 #endif // REMOTING_CLIENT_UI_SIMULATED_TOUCH_INPUT_STRATEGY_H_ |
| OLD | NEW |