| Index: remoting/host/client_session.cc
|
| diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
|
| index 1680e5aca2a52a8afe155e5017a81de3ed6dee71..fc8ff822300d5f08c19e9d65758ad314438d30b8 100644
|
| --- a/remoting/host/client_session.cc
|
| +++ b/remoting/host/client_session.cc
|
| @@ -176,7 +176,7 @@ void ClientSession::OnConnectionChannelsConnected(
|
| host_input_filter_.set_input_stub(event_executor_.get());
|
| clipboard_echo_filter_.set_host_stub(event_executor_.get());
|
|
|
| - SetDisableInputs(false);
|
| + PauseSession(false);
|
|
|
| // Create a VideoEncoder based on the session's video channel configuration.
|
| scoped_ptr<VideoEncoder> video_encoder =
|
| @@ -283,14 +283,14 @@ void ClientSession::OnLocalMouseMoved(const SkIPoint& position) {
|
| remote_input_filter_.LocalMouseMoved(position);
|
| }
|
|
|
| -void ClientSession::SetDisableInputs(bool disable_inputs) {
|
| +void ClientSession::PauseSession(bool pause) {
|
| DCHECK(CalledOnValidThread());
|
|
|
| - if (disable_inputs)
|
| + if (pause)
|
| input_tracker_.ReleaseAll();
|
|
|
| - disable_input_filter_.set_enabled(!disable_inputs);
|
| - disable_clipboard_filter_.set_enabled(!disable_inputs);
|
| + disable_input_filter_.set_enabled(!pause);
|
| + disable_clipboard_filter_.set_enabled(!pause);
|
| }
|
|
|
| scoped_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() {
|
|
|