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

Side by Side Diff: remoting/client/touch_input_scaler.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 4 years, 12 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/token_fetcher_proxy.h ('k') | remoting/client/touch_input_scaler_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TOUCH_INPUT_SCALER_H_ 5 #ifndef REMOTING_CLIENT_TOUCH_INPUT_SCALER_H_
6 #define REMOTING_CLIENT_TOUCH_INPUT_SCALER_H_ 6 #define REMOTING_CLIENT_TOUCH_INPUT_SCALER_H_
7 7
8 #include "base/macros.h"
8 #include "remoting/protocol/input_filter.h" 9 #include "remoting/protocol/input_filter.h"
9 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 10 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
10 11
11 namespace remoting { 12 namespace remoting {
12 13
13 namespace protocol { 14 namespace protocol {
14 class TouchEvent; 15 class TouchEvent;
15 } // namespace protocol 16 } // namespace protocol
16 17
17 // Scales the touch input coordinates to host coordinates and clamps so 18 // Scales the touch input coordinates to host coordinates and clamps so
(...skipping 21 matching lines...) Expand all
39 // These hold the max-X,Y coordinates and not the actual width and height. 40 // These hold the max-X,Y coordinates and not the actual width and height.
40 webrtc::DesktopSize input_size_; 41 webrtc::DesktopSize input_size_;
41 webrtc::DesktopSize output_size_; 42 webrtc::DesktopSize output_size_;
42 43
43 DISALLOW_COPY_AND_ASSIGN(TouchInputScaler); 44 DISALLOW_COPY_AND_ASSIGN(TouchInputScaler);
44 }; 45 };
45 46
46 } // namespace remoting 47 } // namespace remoting
47 48
48 #endif // REMOTING_CLIENT_TOUCH_INPUT_SCALER_H_ 49 #endif // REMOTING_CLIENT_TOUCH_INPUT_SCALER_H_
OLDNEW
« no previous file with comments | « remoting/client/token_fetcher_proxy.h ('k') | remoting/client/touch_input_scaler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698