Index: remoting/client/input_handler.cc |
diff --git a/remoting/client/input_handler.cc b/remoting/client/input_handler.cc |
index 87c3c8994410af49ba33059934bb8a3f7c1d23da..3c8cf0ed24d013323266ad409113f1550c15c7bc 100644 |
--- a/remoting/client/input_handler.cc |
+++ b/remoting/client/input_handler.cc |
@@ -10,6 +10,9 @@ |
namespace remoting { |
+using protocol::KeyEvent; |
+using protocol::MouseEvent; |
+ |
InputHandler::InputHandler(ClientContext* context, |
protocol::ConnectionToHost* connection, |
ChromotingView* view) |
@@ -37,7 +40,7 @@ void InputHandler::SendMouseMoveEvent(int x, int y) { |
} |
void InputHandler::SendMouseButtonEvent(bool button_down, |
- MouseButton button) { |
+ MouseEvent::MouseButton button) { |
MouseEvent* event = new MouseEvent(); |
event->set_button(button); |
event->set_button_down(button_down); |