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

Side by Side Diff: remoting/client/ui/gesture_interpreter.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/fling_tracker.cc ('k') | remoting/client/ui/gesture_interpreter.cc » ('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_GESTURE_INTERPRETER_H_ 5 #ifndef REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_
6 #define REMOTING_CLIENT_GESTURE_INTERPRETER_H_ 6 #define REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "remoting/client/chromoting_session.h" 10 #include "remoting/client/chromoting_session.h"
11 #include "remoting/client/desktop_viewport.h" 11 #include "remoting/client/ui/desktop_viewport.h"
12 #include "remoting/client/fling_animation.h" 12 #include "remoting/client/ui/fling_animation.h"
13 #include "remoting/proto/event.pb.h" 13 #include "remoting/proto/event.pb.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 class InputStrategy; 17 class InputStrategy;
18 18
19 // This is a class for interpreting a raw touch input into actions like moving 19 // This is a class for interpreting a raw touch input into actions like moving
20 // the viewport and injecting mouse clicks. 20 // the viewport and injecting mouse clicks.
21 class GestureInterpreter { 21 class GestureInterpreter {
22 public: 22 public:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool is_dragging_mode_ = false; 71 bool is_dragging_mode_ = false;
72 72
73 FlingAnimation pan_animation_; 73 FlingAnimation pan_animation_;
74 74
75 // GestureInterpreter is neither copyable nor movable. 75 // GestureInterpreter is neither copyable nor movable.
76 GestureInterpreter(const GestureInterpreter&) = delete; 76 GestureInterpreter(const GestureInterpreter&) = delete;
77 GestureInterpreter& operator=(const GestureInterpreter&) = delete; 77 GestureInterpreter& operator=(const GestureInterpreter&) = delete;
78 }; 78 };
79 79
80 } // namespace remoting 80 } // namespace remoting
81 #endif // REMOTING_CLIENT_GESTURE_INTERPRETER_H_ 81 #endif // REMOTING_CLIENT_UI_GESTURE_INTERPRETER_H_
OLDNEW
« no previous file with comments | « remoting/client/ui/fling_tracker.cc ('k') | remoting/client/ui/gesture_interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698