OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_HOST_DISPLAY_ROTATION_FILTER_H_ | |
6 #define REMOTING_HOST_DISPLAY_ROTATION_FILTER_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "remoting/protocol/input_filter.h" | |
10 | |
11 namespace remoting { | |
12 | |
13 // Transform the mouse location of the event to inject based on the display | |
14 // rotation settings. Currently, Ozone is the only platform that requires | |
15 // custom transformation. | |
Wez
2014/11/26 02:28:34
This comment should describe the method's function
kelvinp
2014/12/02 00:12:26
Done.
| |
16 scoped_ptr<protocol::InputFilter> CreateDisplayRotationFilter( | |
Wez
2014/11/26 02:28:34
This is an InputFilter that rotates the coordinate
kelvinp
2014/12/02 00:12:26
Done.
| |
17 protocol::InputStub* input_stub); | |
18 | |
19 } // namespace remoting | |
20 | |
21 #endif // REMOTING_HOST_DISPLAY_ROTATION_FILTER_H_ | |
OLD | NEW |