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

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: Reviewer comments. 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
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 4c1503d8749a63750e741c59ce8ab8ba8e87ba34..69c9f192b0f916de48b22b833ffd985347fe00b9 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -259,6 +259,12 @@ void ChromotingHost::OnSessionRouteChange(
route));
}
+void ChromotingHost::OnClientDimensionsChanged(const SkISize& size) {
+ DCHECK(context_->network_task_runner()->BelongsToCurrentThread());
+ FOR_EACH_OBSERVER(HostStatusObserver, status_observers_,
+ OnClientDimensionsChanged(size));
+}
+
void ChromotingHost::OnSessionManagerReady() {
DCHECK(context_->network_task_runner()->BelongsToCurrentThread());
// Don't need to do anything here, just wait for incoming

Powered by Google App Engine
This is Rietveld 408576698