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

Unified Diff: remoting/host/chromoting_host.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/chromoting_host.h ('k') | remoting/host/client_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 487ac35e8c777a11a8db2a2d7018a9f927954ea7..2054eb82b5d0393aa8395a71da8740065e0636e8 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -256,6 +256,13 @@ void ChromotingHost::OnSessionRouteChange(
route));
}
+void ChromotingHost::OnClientDimensionsChanged(ClientSession* session,
+ const SkISize& size) {
+ DCHECK(context_->network_task_runner()->BelongsToCurrentThread());
+ FOR_EACH_OBSERVER(HostStatusObserver, status_observers_,
+ OnClientDimensionsChanged(session->client_jid(), size));
+}
+
void ChromotingHost::OnSessionManagerReady() {
DCHECK(context_->network_task_runner()->BelongsToCurrentThread());
// Don't need to do anything here, just wait for incoming
« no previous file with comments | « remoting/host/chromoting_host.h ('k') | remoting/host/client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698