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

Unified Diff: remoting/host/client_session.h

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.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index af788779d1df2c58583c1c9cbed86496047aa5d6..f0ab673e656cd9a06da760fb5b496a6a5fb31c22 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -23,6 +23,7 @@
#include "remoting/protocol/input_filter.h"
#include "remoting/protocol/input_stub.h"
#include "third_party/skia/include/core/SkPoint.h"
+#include "third_party/skia/include/core/SkSize.h"
namespace base {
class SingleThreadTaskRunner;
@@ -75,6 +76,11 @@ class ClientSession
const std::string& channel_name,
const protocol::TransportRoute& route) = 0;
+ // Called when the initial client dimensions are received, and when they
+ // change.
+ virtual void OnClientDimensionsChanged(ClientSession* client,
+ const SkISize& size) = 0;
+
protected:
virtual ~EventHandler() {}
};
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698