| 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 #include "remoting/client/direct_input_strategy.h" | 5 #include "remoting/client/ui/direct_input_strategy.h" |
| 6 #include "remoting/client/desktop_viewport.h" | 6 #include "remoting/client/ui/desktop_viewport.h" |
| 7 | 7 |
| 8 namespace remoting { | 8 namespace remoting { |
| 9 | 9 |
| 10 DirectInputStrategy::DirectInputStrategy() {} | 10 DirectInputStrategy::DirectInputStrategy() {} |
| 11 | 11 |
| 12 DirectInputStrategy::~DirectInputStrategy() {} | 12 DirectInputStrategy::~DirectInputStrategy() {} |
| 13 | 13 |
| 14 void DirectInputStrategy::HandlePinch(float pivot_x, | 14 void DirectInputStrategy::HandlePinch(float pivot_x, |
| 15 float pivot_y, | 15 float pivot_y, |
| 16 float scale, | 16 float scale, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 viewport.GetTransformation().Invert().MapPoint({touch_x, touch_y}); | 45 viewport.GetTransformation().Invert().MapPoint({touch_x, touch_y}); |
| 46 *cursor_x = cursor_position.x; | 46 *cursor_x = cursor_position.x; |
| 47 *cursor_y = cursor_position.y; | 47 *cursor_y = cursor_position.y; |
| 48 } | 48 } |
| 49 | 49 |
| 50 bool DirectInputStrategy::IsCursorVisible() const { | 50 bool DirectInputStrategy::IsCursorVisible() const { |
| 51 return false; | 51 return false; |
| 52 } | 52 } |
| 53 | 53 |
| 54 } // namespace remoting | 54 } // namespace remoting |
| OLD | NEW |