| 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/ui/trackpad_input_strategy.h" | 5 #include "remoting/client/input/trackpad_input_strategy.h" |
| 6 | 6 |
| 7 #include "remoting/client/ui/desktop_viewport.h" | 7 #include "remoting/client/ui/desktop_viewport.h" |
| 8 | 8 |
| 9 namespace remoting { | 9 namespace remoting { |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 // Trackpad mode does not need tap feedback. | 13 // Trackpad mode does not need tap feedback. |
| 14 const float kTapFeedbackRadius = 0.f; | 14 const float kTapFeedbackRadius = 0.f; |
| 15 | 15 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 case InputFeedbackType::DRAG_FEEDBACK: | 78 case InputFeedbackType::DRAG_FEEDBACK: |
| 79 return kDragFeedbackRadius; | 79 return kDragFeedbackRadius; |
| 80 } | 80 } |
| 81 NOTREACHED(); | 81 NOTREACHED(); |
| 82 return 0.f; | 82 return 0.f; |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool TrackpadInputStrategy::IsCursorVisible() const { | 85 bool TrackpadInputStrategy::IsCursorVisible() const { |
| 86 return true; | 86 return true; |
| 87 } | 87 } |
| 88 |
| 88 } // namespace remoting | 89 } // namespace remoting |
| OLD | NEW |