blob: daa56dd783ebbecd0f99968e5e6226757ccbd717 [file] [log] [blame]
[email protected]61cfdc52013-03-09 03:04:561// 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]231316a2013-03-25 06:01:125#include "remoting/host/ipc_screen_controls.h"
[email protected]61cfdc52013-03-09 03:04:566
7#include "base/logging.h"
8#include "remoting/host/desktop_session_proxy.h"
9
10namespace remoting {
11
[email protected]231316a2013-03-25 06:01:1212IpcScreenControls::IpcScreenControls(
[email protected]61cfdc52013-03-09 03:04:5613 scoped_refptr<DesktopSessionProxy> desktop_session_proxy)
14 : desktop_session_proxy_(desktop_session_proxy) {
15}
16
[email protected]231316a2013-03-25 06:01:1217IpcScreenControls::~IpcScreenControls() {
[email protected]61cfdc52013-03-09 03:04:5618}
19
[email protected]231316a2013-03-25 06:01:1220void IpcScreenControls::SetScreenResolution(
[email protected]739e2802013-03-18 01:03:4821 const ScreenResolution& resolution) {
[email protected]6f526ce2013-03-18 04:38:5622 desktop_session_proxy_->SetScreenResolution(resolution);
[email protected]61cfdc52013-03-09 03:04:5623}
24
25} // namespace remoting