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

Unified Diff: remoting/host/client_session.cc

Issue 10918224: Cross-platform plumbing for resize-to-client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo. Created 8 years, 3 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
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/desktop_resizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index a7f89eaa7582cbd825ffc58af5e7f9cad0415b44..8a9b84295a254909421011425b08d6bddefc407f 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -70,10 +70,11 @@ ClientSession::ClientSession(
void ClientSession::NotifyClientDimensions(
const protocol::ClientDimensions& dimensions) {
- // TODO(wez): Use the dimensions, e.g. to resize the host desktop to match.
if (dimensions.has_width() && dimensions.has_height()) {
VLOG(1) << "Received ClientDimensions (width="
<< dimensions.width() << ", height=" << dimensions.height() << ")";
+ event_handler_->OnClientDimensionsChanged(
+ this, SkISize::Make(dimensions.width(), dimensions.height()));
}
}
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/desktop_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698