Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: remoting/host/ipc_desktop_environment.cc

Issue 12678008: Reworked the plumbing required to pass the client resolution to the desktop resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/ipc_desktop_environment.cc
diff --git a/remoting/host/ipc_desktop_environment.cc b/remoting/host/ipc_desktop_environment.cc
index 53f90e1d3cd7a33ed1f0d09a41ccf807e6624086..bbe93e3c661d02694777ba6fd2cb3a30584c457c 100644
--- a/remoting/host/ipc_desktop_environment.cc
+++ b/remoting/host/ipc_desktop_environment.cc
@@ -114,7 +114,7 @@ bool IpcDesktopEnvironmentFactory::SupportsAudioCapture() const {
void IpcDesktopEnvironmentFactory::ConnectTerminal(
DesktopSessionProxy* desktop_session_proxy,
- const DesktopSessionParams& params,
+ const ScreenResolution& resolution,
bool virtual_terminal) {
DCHECK(caller_task_runner_->BelongsToCurrentThread());
@@ -126,7 +126,7 @@ void IpcDesktopEnvironmentFactory::ConnectTerminal(
VLOG(1) << "Network: registered desktop environment " << id;
daemon_channel_->Send(new ChromotingNetworkHostMsg_ConnectTerminal(
- id, params, virtual_terminal));
+ id, resolution, virtual_terminal));
}
void IpcDesktopEnvironmentFactory::DisconnectTerminal(

Powered by Google App Engine
This is Rietveld 408576698