| Index: remoting/host/client_session.h
|
| diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
|
| index fd2b9a088f51bb6786c8da610aac004ddfd31450..e15793ad1f009b143ef63432306bfa7b48d4a0fd 100644
|
| --- a/remoting/host/client_session.h
|
| +++ b/remoting/host/client_session.h
|
| @@ -121,6 +121,9 @@ class ClientSession : public protocol::HostEventStub,
|
| // keys or mouse buttons pressed then these will be released.
|
| void SetDisableInputs(bool disable_inputs);
|
|
|
| + // Creates a proxy for sending clipboard events to the client.
|
| + scoped_ptr<protocol::ClipboardStub> CreateClipboardProxy();
|
| +
|
| private:
|
| EventHandler* event_handler_;
|
|
|
| @@ -153,6 +156,11 @@ class ClientSession : public protocol::HostEventStub,
|
| // back to it.
|
| protocol::ClipboardEchoFilter clipboard_echo_filter_;
|
|
|
| + // Factory for weak pointers to the client clipboard stub.
|
| + // This must appear after |clipboard_echo_filter_|, so that it won't outlive
|
| + // it.
|
| + base::WeakPtrFactory<ClipboardStub> client_clipboard_factory_;
|
| +
|
| // Capturer, used to determine current screen size for ensuring injected
|
| // mouse events fall within the screen area.
|
| // TODO(lambroslambrou): Move floor-control logic, and clamping to screen
|
|
|