Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: remoting/client/input/trackpad_input_strategy.cc

Issue 2903623002: Moving input related classes to the input folder. (Closed)
Patch Set: Working the build files to pull in the correct imports as needed. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698