• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef REMOTING_HOST_SCREEN_CONTROLS_H_
6 #define REMOTING_HOST_SCREEN_CONTROLS_H_
7 
8 #include "base/basictypes.h"
9 
10 namespace remoting {
11 
12 class ScreenResolution;
13 
14 // Used to change the screen resolution (both dimensions and DPI).
15 class ScreenControls {
16  public:
~ScreenControls()17   virtual ~ScreenControls() {}
18 
19   // Attempts to set new screen resolution in the session.
20   virtual void SetScreenResolution(const ScreenResolution& resolution) = 0;
21 };
22 
23 }  // namespace remoting
24 
25 #endif  // REMOTING_HOST_SCREEN_CONTROLS_H_
26