diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-08 09:29:32 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-08 09:29:32 +0000 |
commit | e36460f755093a604598c20a294c10196678ef93 (patch) | |
tree | f2c1e2b9b51b7b51809f92026931e415b83a3b59 /remoting/host/desktop_session.h | |
parent | 5c5dd2482e578f985608bc3c74eba69ee574eed3 (diff) | |
download | chromium_src-e36460f755093a604598c20a294c10196678ef93.zip chromium_src-e36460f755093a604598c20a294c10196678ef93.tar.gz chromium_src-e36460f755093a604598c20a294c10196678ef93.tar.bz2 |
Pass the initial screen resolution and curtain flag to the daemon.
BUG=137696
Review URL: https://chromiumcodereview.appspot.com/12387104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186926 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/desktop_session.h')
-rw-r--r-- | remoting/host/desktop_session.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/remoting/host/desktop_session.h b/remoting/host/desktop_session.h index 8d98e92..4dd8a3b 100644 --- a/remoting/host/desktop_session.h +++ b/remoting/host/desktop_session.h @@ -7,11 +7,27 @@ #include "base/basictypes.h" #include "base/compiler_specific.h" +#include "third_party/skia/include/core/SkPoint.h" +#include "third_party/skia/include/core/SkSize.h" namespace remoting { class DaemonProcess; +// This structure describes parameters required to create a desktop session. +struct DesktopSessionParams { + DesktopSessionParams(); + + // Vertical and horizontal DPI of the remote screen. The caller should pass + // (0, 0) if DPI of the remote screen is not known. The default 96 DPI will be + // assumed in that case. + SkIPoint client_dpi_; + + // Resolution of the remote screen in pixels. The caller should pass (0, 0) if + // resolution of the remote screen size in not known. + SkISize client_size_; +}; + // Represents the desktop session for a connected terminal. Each desktop session // has a unique identifier used by cross-platform code to refer to it. class DesktopSession { |