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

Unified Diff: remoting/client/input_handler.cc

Issue 5068001: Move move classes to the remoting::protocol namespace. Minor cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes for windows Created 10 years, 1 month 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
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);

Powered by Google App Engine
This is Rietveld 408576698