Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / remoting / host / ipc_screen_controls.cc
blobdaa56dd783ebbecd0f99968e5e6226757ccbd717
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.
5 #include "remoting/host/ipc_screen_controls.h"
7 #include "base/logging.h"
8 #include "remoting/host/desktop_session_proxy.h"
10 namespace remoting {
12 IpcScreenControls::IpcScreenControls(
13 scoped_refptr<DesktopSessionProxy> desktop_session_proxy)
14 : desktop_session_proxy_(desktop_session_proxy) {
17 IpcScreenControls::~IpcScreenControls() {
20 void IpcScreenControls::SetScreenResolution(
21 const ScreenResolution& resolution) {
22 desktop_session_proxy_->SetScreenResolution(resolution);
25 } // namespace remoting