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

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

Issue 2879383002: [CRD iOS] Move UI stuff into a subdirectory (Closed)
Patch Set: Fix include 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
« no previous file with comments | « remoting/client/ui/gesture_interpreter.cc ('k') | remoting/client/ui/view_matrix.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_INPUT_STRATEGY_H_ 5 #ifndef REMOTING_CLIENT_UI_INPUT_STRATEGY_H_
6 #define REMOTING_CLIENT_INPUT_STRATEGY_H_ 6 #define REMOTING_CLIENT_UI_INPUT_STRATEGY_H_
7 7
8 namespace remoting { 8 namespace remoting {
9 9
10 class DesktopViewport; 10 class DesktopViewport;
11 11
12 // This is an interface used by GestureInterpreter to customize the way gestures 12 // This is an interface used by GestureInterpreter to customize the way gestures
13 // are handled. 13 // are handled.
14 class InputStrategy { 14 class InputStrategy {
15 public: 15 public:
16 virtual ~InputStrategy() {} 16 virtual ~InputStrategy() {}
(...skipping 24 matching lines...) Expand all
41 const DesktopViewport& viewport, 41 const DesktopViewport& viewport,
42 float* cursor_x, 42 float* cursor_x,
43 float* cursor_y) = 0; 43 float* cursor_y) = 0;
44 44
45 // Returns true if the input strategy maintains a visible cursor on the 45 // Returns true if the input strategy maintains a visible cursor on the
46 // desktop. 46 // desktop.
47 virtual bool IsCursorVisible() const = 0; 47 virtual bool IsCursorVisible() const = 0;
48 }; 48 };
49 49
50 } // namespace remoting 50 } // namespace remoting
51 #endif // REMOTING_CLIENT_INPUT_STRATEGY_H_ 51 #endif // REMOTING_CLIENT_UI_INPUT_STRATEGY_H_
OLDNEW
« no previous file with comments | « remoting/client/ui/gesture_interpreter.cc ('k') | remoting/client/ui/view_matrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698