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

Unified Diff: remoting/host/desktop_environment.h

Issue 9646013: Add the plumbing that will carry a clipboard item from a chromoting client to a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix remoting_simple_host. Created 8 years, 9 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/client_session_unittest.cc ('k') | remoting/host/desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment.h
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index 5573cfc21578a213ad3ffef4a9e6c334df949f05..d3058e0bce0ed1d84e994c4b76d039a9151024bd 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -20,7 +20,7 @@ class ChromotingHost;
class ChromotingHostContext;
namespace protocol {
-class InputStub;
+class HostEventStub;
};
class DesktopEnvironment {
@@ -29,19 +29,21 @@ class DesktopEnvironment {
static scoped_ptr<DesktopEnvironment> CreateFake(
ChromotingHostContext* context,
scoped_ptr<Capturer> capturer,
- scoped_ptr<protocol::InputStub> event_executor);
+ scoped_ptr<protocol::HostEventStub> event_executor);
virtual ~DesktopEnvironment();
void set_host(ChromotingHost* host) { host_ = host; }
Capturer* capturer() const { return capturer_.get(); }
- protocol::InputStub* event_executor() const { return event_executor_.get(); }
+ protocol::HostEventStub* event_executor() const {
+ return event_executor_.get();
+ }
private:
DesktopEnvironment(ChromotingHostContext* context,
scoped_ptr<Capturer> capturer,
- scoped_ptr<protocol::InputStub> event_executor);
+ scoped_ptr<protocol::HostEventStub> event_executor);
// The host that owns this DesktopEnvironment.
ChromotingHost* host_;
@@ -53,8 +55,8 @@ class DesktopEnvironment {
// Capturer to be used by ScreenRecorder.
scoped_ptr<Capturer> capturer_;
- // Executes input events received from the client.
- scoped_ptr<protocol::InputStub> event_executor_;
+ // Executes input and clipboard events received from the client.
+ scoped_ptr<protocol::HostEventStub> event_executor_;
DISALLOW_COPY_AND_ASSIGN(DesktopEnvironment);
};
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698