diff options
Diffstat (limited to 'remoting/client')
-rw-r--r-- | remoting/client/chromoting_client.cc | 6 | ||||
-rw-r--r-- | remoting/client/plugin/pepper_input_handler.cc | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc index 0449d8f..f205d1e 100644 --- a/remoting/client/chromoting_client.cc +++ b/remoting/client/chromoting_client.cc @@ -233,6 +233,12 @@ void ChromotingClient::BeginSessionResponse( return; } + // Inform the connection that the client has been authenticated. This will + // enable the communication channels. + if (msg->success()) { + connection_->OnClientAuthenticated(); + } + view_->UpdateLoginStatus(msg->success(), msg->error_info()); done->Run(); delete done; diff --git a/remoting/client/plugin/pepper_input_handler.cc b/remoting/client/plugin/pepper_input_handler.cc index 81ace4e..16a5738 100644 --- a/remoting/client/plugin/pepper_input_handler.cc +++ b/remoting/client/plugin/pepper_input_handler.cc @@ -33,7 +33,8 @@ void PepperInputHandler::HandleCharacterEvent( // TODO(garykac): Coordinate key and char events. } -void PepperInputHandler::HandleMouseMoveEvent(const PP_InputEvent_Mouse& event) { +void PepperInputHandler::HandleMouseMoveEvent( + const PP_InputEvent_Mouse& event) { SendMouseMoveEvent(static_cast<int>(event.x), static_cast<int>(event.y)); } |