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

Unified Diff: remoting/client/chromoting_client.h

Issue 13932020: Set the initial resolution of an RDP session to the client screen resolution if it is available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback #2 Created 7 years, 8 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/client/chromoting_client.h
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
index d6fc09bc2b8964850074d5899e1cfc0a0a244a99..0cade018c9086e336bfdfbc1f39dd3090dba5647 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -33,6 +33,7 @@ class TransportFactory;
class AudioDecodeScheduler;
class AudioPlayer;
+class Capabilities;
class ClientContext;
class ClientUserInterface;
class FrameConsumerProxy;
@@ -61,6 +62,10 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
// Return the stats recorded by this client.
ChromotingStats* GetStats();
+ // ClientStub implementation.
+ virtual void SetCapabilities(const protocol::Capabilities& capabilities)
+ OVERRIDE;
Sergey Ulanov 2013/04/16 08:38:53 nit: I think the right way to format this code is
alexeypa (please no reviews) 2013/04/16 22:06:11 Done.
+
// ClipboardStub implementation for receiving clipboard data from host.
virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event)
OVERRIDE;
@@ -93,6 +98,9 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
// If non-NULL, this is called when the client is done.
base::Closure client_done_;
+ // The set of all capabilities supported by the host.
+ scoped_ptr<Capabilities> host_capabilities_;
+
// Record the statistics of the connection.
ChromotingStats stats_;

Powered by Google App Engine
This is Rietveld 408576698