OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_SCREEN_CONTROLS_H_ | 5 #ifndef REMOTING_HOST_SCREEN_CONTROLS_H_ |
6 #define REMOTING_HOST_SCREEN_CONTROLS_H_ | 6 #define REMOTING_HOST_SCREEN_CONTROLS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 | 8 |
10 namespace remoting { | 9 namespace remoting { |
11 | 10 |
12 class ScreenResolution; | 11 class ScreenResolution; |
13 | 12 |
14 // Used to change the screen resolution (both dimensions and DPI). | 13 // Used to change the screen resolution (both dimensions and DPI). |
15 class ScreenControls { | 14 class ScreenControls { |
16 public: | 15 public: |
17 virtual ~ScreenControls() {} | 16 virtual ~ScreenControls() {} |
18 | 17 |
19 // Attempts to set new screen resolution in the session. | 18 // Attempts to set new screen resolution in the session. |
20 virtual void SetScreenResolution(const ScreenResolution& resolution) = 0; | 19 virtual void SetScreenResolution(const ScreenResolution& resolution) = 0; |
21 }; | 20 }; |
22 | 21 |
23 } // namespace remoting | 22 } // namespace remoting |
24 | 23 |
25 #endif // REMOTING_HOST_SCREEN_CONTROLS_H_ | 24 #endif // REMOTING_HOST_SCREEN_CONTROLS_H_ |
OLD | NEW |