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

Side by Side Diff: remoting/client/input/input_strategy.h

Issue 2903623002: Moving input related classes to the input folder. (Closed)
Patch Set: Hide gesture code from nacl. Created 3 years, 7 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 #ifndef REMOTING_CLIENT_UI_INPUT_STRATEGY_H_ 5 #ifndef REMOTING_CLIENT_INPUT_INPUT_STRATEGY_H_
6 #define REMOTING_CLIENT_UI_INPUT_STRATEGY_H_ 6 #define REMOTING_CLIENT_INPUT_INPUT_STRATEGY_H_
7 7
8 #include "remoting/client/ui/view_matrix.h" 8 #include "remoting/client/ui/view_matrix.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 class DesktopViewport; 12 class DesktopViewport;
13 13
14 // This is an interface used by GestureInterpreter to customize the way gestures 14 // This is an interface used by GestureInterpreter to customize the way gestures
15 // are handled. 15 // are handled.
16 class InputStrategy { 16 class InputStrategy {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // cursor positions returned by GetCursorPosition(). Return 0 if no feedback 69 // cursor positions returned by GetCursorPosition(). Return 0 if no feedback
70 // should be shown. 70 // should be shown.
71 virtual float GetFeedbackRadius(InputFeedbackType type) const = 0; 71 virtual float GetFeedbackRadius(InputFeedbackType type) const = 0;
72 72
73 // Returns true if the input strategy maintains a visible cursor on the 73 // Returns true if the input strategy maintains a visible cursor on the
74 // desktop. 74 // desktop.
75 virtual bool IsCursorVisible() const = 0; 75 virtual bool IsCursorVisible() const = 0;
76 }; 76 };
77 77
78 } // namespace remoting 78 } // namespace remoting
79 #endif // REMOTING_CLIENT_UI_INPUT_STRATEGY_H_ 79 #endif // REMOTING_CLIENT_INPUT_INPUT_STRATEGY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698