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

Unified Diff: remoting/host/host_status_observer.h

Issue 10918224: Cross-platform plumbing for resize-to-client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed reviewer comments and trybot fixes. 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/host_status_observer.h
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h
index 200b7d8d0f94b5fcbf03a1b3e259376bc7aa2e85..a37e9e48f032c3b2f77edb226240acd26e1b826c 100644
--- a/remoting/host/host_status_observer.h
+++ b/remoting/host/host_status_observer.h
@@ -7,6 +7,8 @@
#include <string>
+#include "third_party/skia/include/core/SkRect.h"
+
namespace net {
class IPEndPoint;
} // namespace net
@@ -44,6 +46,10 @@ class HostStatusObserver {
const std::string& channel_name,
const protocol::TransportRoute& route) {}
+ // Called when the client view dimensions change.
+ virtual void OnClientDimensionsChanged(const std::string& jid,
+ const SkISize& size) {}
+
// Called when hosting is started for an account.
virtual void OnStart(const std::string& xmpp_login) {}

Powered by Google App Engine
This is Rietveld 408576698