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 #include "remoting/host/display_rotation_filter.h" |
| 6 |
| 7 namespace remoting { |
| 8 |
| 9 // static |
| 10 // Creates a trivial DisplayRotationFilter. On x11, windows and mac, both the |
| 11 // host and client expects the mouse locations in the same co-ordinates system |
| 12 // regardless of the display rotation settings, thus no conversion is necessary. |
| 13 scoped_ptr<protocol::InputFilter> CreateDisplayRotationFilter( |
| 14 protocol::InputStub* input_stub) { |
| 15 return make_scoped_ptr(new protocol::InputFilter(input_stub)); |
| 16 } |
| 17 |
| 18 } // namespace remoting |
OLD | NEW |