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

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: fixed remoting_unittests 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..0ec34cd0bb51461cea3cb5f96b68ae7d163bf252 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -7,7 +7,7 @@
#ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_
#define REMOTING_CLIENT_CHROMOTING_CLIENT_H_
-#include <list>
+#include <string>
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
@@ -61,13 +61,17 @@ 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;
+
// ClipboardStub implementation for receiving clipboard data from host.
- virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event)
- OVERRIDE;
+ virtual void InjectClipboardEvent(
+ const protocol::ClipboardEvent& event) OVERRIDE;
// CursorShapeStub implementation for receiving cursor shape updates.
- virtual void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape)
- OVERRIDE;
+ virtual void SetCursorShape(
+ const protocol::CursorShapeInfo& cursor_shape) OVERRIDE;
// ConnectionToHost::HostEventCallback implementation.
virtual void OnConnectionState(
@@ -93,6 +97,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<std::string> host_capabilities_;
Sergey Ulanov 2013/04/18 00:34:53 why not just std::string instead of scoped_ptr?
alexeypa (please no reviews) 2013/04/18 18:56:36 Done.
+
// Record the statistics of the connection.
ChromotingStats stats_;

Powered by Google App Engine
This is Rietveld 408576698