Home | History | Annotate | Download | only in host
      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 
      5 #include "remoting/host/ipc_screen_controls.h"
      6 
      7 #include "base/logging.h"
      8 #include "remoting/host/desktop_session_proxy.h"
      9 
     10 namespace remoting {
     11 
     12 IpcScreenControls::IpcScreenControls(
     13     scoped_refptr<DesktopSessionProxy> desktop_session_proxy)
     14     : desktop_session_proxy_(desktop_session_proxy) {
     15 }
     16 
     17 IpcScreenControls::~IpcScreenControls() {
     18 }
     19 
     20 void IpcScreenControls::SetScreenResolution(
     21     const ScreenResolution& resolution) {
     22   desktop_session_proxy_->SetScreenResolution(resolution);
     23 }
     24 
     25 }  // namespace remoting
     26