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

Side by Side Diff: remoting/client/ui/desktop_viewport.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/BUILD.gn ('k') | remoting/client/ui/desktop_viewport.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_DESKTOP_VIEWPORT_H_ 5 #ifndef REMOTING_CLIENT_UI_DESKTOP_VIEWPORT_H_
6 #define REMOTING_CLIENT_DESKTOP_VIEWPORT_H_ 6 #define REMOTING_CLIENT_UI_DESKTOP_VIEWPORT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "remoting/client/view_matrix.h" 9 #include "remoting/client/ui/view_matrix.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 // The viewport is a sliding window on the desktop image. This class defines 13 // The viewport is a sliding window on the desktop image. This class defines
14 // the viewport's position and size, provides methods to manipulate it, and 14 // the viewport's position and size, provides methods to manipulate it, and
15 // outputs a desktop space -> surface space transformation matrix for drawing 15 // outputs a desktop space -> surface space transformation matrix for drawing
16 // the desktop onto the client's view surface on the screen. 16 // the desktop onto the client's view surface on the screen.
17 // 17 //
18 // Desktop space: Coordinates to locate a point on the host's desktop image in 18 // Desktop space: Coordinates to locate a point on the host's desktop image in
19 // pixels, similar to the mouse's cursor position. 19 // pixels, similar to the mouse's cursor position.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ViewMatrix desktop_to_surface_transform_; 107 ViewMatrix desktop_to_surface_transform_;
108 108
109 TransformationCallback on_transformation_changed_; 109 TransformationCallback on_transformation_changed_;
110 110
111 // DesktopViewport is neither copyable nor movable. 111 // DesktopViewport is neither copyable nor movable.
112 DesktopViewport(const DesktopViewport&) = delete; 112 DesktopViewport(const DesktopViewport&) = delete;
113 DesktopViewport& operator=(const DesktopViewport&) = delete; 113 DesktopViewport& operator=(const DesktopViewport&) = delete;
114 }; 114 };
115 115
116 } // namespace remoting 116 } // namespace remoting
117 #endif // REMOTING_CLIENT_DESKTOP_VIEWPORT_H_ 117 #endif // REMOTING_CLIENT_UI_DESKTOP_VIEWPORT_H_
OLDNEW
« no previous file with comments | « remoting/client/ui/BUILD.gn ('k') | remoting/client/ui/desktop_viewport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698