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

Side by Side Diff: remoting/protocol/mouse_input_filter.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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROTOCOL_MOUSE_INPUT_FILTER_H_ 5 #ifndef REMOTING_PROTOCOL_MOUSE_INPUT_FILTER_H_
6 #define REMOTING_PROTOCOL_MOUSE_INPUT_FILTER_H_ 6 #define REMOTING_PROTOCOL_MOUSE_INPUT_FILTER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
9 #include "remoting/protocol/input_filter.h" 10 #include "remoting/protocol/input_filter.h"
10 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 11 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 namespace protocol { 14 namespace protocol {
14 15
15 // Filtering InputStub implementation which scales mouse events based on the 16 // Filtering InputStub implementation which scales mouse events based on the
16 // supplied input and output dimensions, and clamps their coordinates to the 17 // supplied input and output dimensions, and clamps their coordinates to the
17 // output dimensions, before passing events on to |input_stub|. 18 // output dimensions, before passing events on to |input_stub|.
18 class MouseInputFilter : public InputFilter { 19 class MouseInputFilter : public InputFilter {
(...skipping 15 matching lines...) Expand all
34 webrtc::DesktopSize input_max_; 35 webrtc::DesktopSize input_max_;
35 webrtc::DesktopSize output_max_; 36 webrtc::DesktopSize output_max_;
36 37
37 DISALLOW_COPY_AND_ASSIGN(MouseInputFilter); 38 DISALLOW_COPY_AND_ASSIGN(MouseInputFilter);
38 }; 39 };
39 40
40 } // namespace protocol 41 } // namespace protocol
41 } // namespace remoting 42 } // namespace remoting
42 43
43 #endif // REMOTING_PROTOCOL_MOUSE_INPUT_FILTER_H_ 44 #endif // REMOTING_PROTOCOL_MOUSE_INPUT_FILTER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/monitored_video_stub_unittest.cc ('k') | remoting/protocol/mouse_input_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698