summaryrefslogtreecommitdiffstats
path: root/remoting/host/screen_controls.h
blob: 1f707f9681d99e73b3d7080693ec036aa4f528bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_HOST_SCREEN_CONTROLS_H_
#define REMOTING_HOST_SCREEN_CONTROLS_H_

#include "base/basictypes.h"

namespace remoting {

class ScreenResolution;

// Used to change the screen resolution (both dimensions and DPI).
class ScreenControls {
 public:
  virtual ~ScreenControls() {}

  // Attempts to set new screen resolution in the session.
  virtual void SetScreenResolution(const ScreenResolution& resolution) = 0;
};

}  // namespace remoting

#endif  // REMOTING_HOST_SCREEN_CONTROLS_H_