[email protected] | 61cfdc5 | 2013-03-09 03:04:56 | [diff] [blame] | 1 | // Copyright (c) 2013 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 | |||||
[email protected] | 231316a | 2013-03-25 06:01:12 | [diff] [blame] | 5 | #include "remoting/host/ipc_screen_controls.h" |
[email protected] | 61cfdc5 | 2013-03-09 03:04:56 | [diff] [blame] | 6 | |
7 | #include "base/logging.h" | ||||
8 | #include "remoting/host/desktop_session_proxy.h" | ||||
9 | |||||
10 | namespace remoting { | ||||
11 | |||||
[email protected] | 231316a | 2013-03-25 06:01:12 | [diff] [blame] | 12 | IpcScreenControls::IpcScreenControls( |
[email protected] | 61cfdc5 | 2013-03-09 03:04:56 | [diff] [blame] | 13 | scoped_refptr<DesktopSessionProxy> desktop_session_proxy) |
14 | : desktop_session_proxy_(desktop_session_proxy) { | ||||
15 | } | ||||
16 | |||||
[email protected] | 231316a | 2013-03-25 06:01:12 | [diff] [blame] | 17 | IpcScreenControls::~IpcScreenControls() { |
[email protected] | 61cfdc5 | 2013-03-09 03:04:56 | [diff] [blame] | 18 | } |
19 | |||||
[email protected] | 231316a | 2013-03-25 06:01:12 | [diff] [blame] | 20 | void IpcScreenControls::SetScreenResolution( |
[email protected] | 739e280 | 2013-03-18 01:03:48 | [diff] [blame] | 21 | const ScreenResolution& resolution) { |
[email protected] | 6f526ce | 2013-03-18 04:38:56 | [diff] [blame] | 22 | desktop_session_proxy_->SetScreenResolution(resolution); |
[email protected] | 61cfdc5 | 2013-03-09 03:04:56 | [diff] [blame] | 23 | } |
24 | |||||
25 | } // namespace remoting |