diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 01:03:48 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 01:03:48 +0000 |
commit | 739e2803109683fec6e24ecbca3ad16fde7b43c4 (patch) | |
tree | d9459f07d896e6095e91f0590c420ea36495cecc /remoting/host/desktop_session_proxy.cc | |
parent | 9e359452151c9bbeaff2fee78a8fde678a42749b (diff) | |
download | chromium_src-739e2803109683fec6e24ecbca3ad16fde7b43c4.zip chromium_src-739e2803109683fec6e24ecbca3ad16fde7b43c4.tar.gz chromium_src-739e2803109683fec6e24ecbca3ad16fde7b43c4.tar.bz2 |
Reworked the plumbing required to pass the client resolution to the desktop resizer.
This is mostly a renaming CL:
- DesktopSessionParams -> ScreenResolution
- OnClientResolutionChanged() -> SetScreenResolution().
Also added validation of ScreenResolution before passing it to session controllers.
BUG=196316
Review URL: https://codereview.chromium.org/12678008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/desktop_session_proxy.cc')
-rw-r--r-- | remoting/host/desktop_session_proxy.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/desktop_session_proxy.cc b/remoting/host/desktop_session_proxy.cc index 1e3ec99..5baa69d 100644 --- a/remoting/host/desktop_session_proxy.cc +++ b/remoting/host/desktop_session_proxy.cc @@ -19,6 +19,7 @@ #include "remoting/host/ipc_event_executor.h" #include "remoting/host/ipc_session_controller.h" #include "remoting/host/ipc_video_frame_capturer.h" +#include "remoting/host/screen_resolution.h" #include "remoting/host/session_controller.h" #include "remoting/proto/audio.pb.h" #include "remoting/proto/control.pb.h" @@ -288,7 +289,7 @@ void DesktopSessionProxy::ConnectToDesktopSession( desktop_session_connector_ = desktop_session_connector; desktop_session_connector_->ConnectTerminal( - this, DesktopSessionParams(), virtual_terminal); + this, ScreenResolution(), virtual_terminal); } DesktopSessionProxy::~DesktopSessionProxy() { |