| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 case InputFeedbackType::DRAG_FEEDBACK: | 80 case InputFeedbackType::DRAG_FEEDBACK: |
| 81 return kDragFeedbackRadius; | 81 return kDragFeedbackRadius; |
| 82 } | 82 } |
| 83 NOTREACHED(); | 83 NOTREACHED(); |
| 84 return 0.f; | 84 return 0.f; |
| 85 } | 85 } |
| 86 | 86 |
| 87 bool TrackpadInputStrategy::IsCursorVisible() const { | 87 bool TrackpadInputStrategy::IsCursorVisible() const { |
| 88 return true; | 88 return true; |
| 89 } | 89 } |
| 90 |
| 90 } // namespace remoting | 91 } // namespace remoting |
| OLD | NEW |