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

Unified Diff: remoting/client/input_handler.cc

Issue 5559011: Remove ChromotingClientMessage (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years 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
« no previous file with comments | « no previous file | remoting/host/event_executor_linux.cc » ('j') | remoting/proto/event.proto » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/input_handler.cc
diff --git a/remoting/client/input_handler.cc b/remoting/client/input_handler.cc
index 68c29f876aa47e99b60be5d585f36b93f6a8ada7..c203f54fb4962830e8b014a01d54280a4aaece3f 100644
--- a/remoting/client/input_handler.cc
+++ b/remoting/client/input_handler.cc
@@ -25,7 +25,7 @@ void InputHandler::SendKeyEvent(bool press, int keycode) {
protocol::InputStub* stub = connection_->input_stub();
if (stub) {
KeyEvent* event = new KeyEvent();
- event->set_key(keycode);
+ event->set_keycode(keycode);
event->set_pressed(press);
stub->InjectKeyEvent(event, new DeleteTask<KeyEvent>(event));
« no previous file with comments | « no previous file | remoting/host/event_executor_linux.cc » ('j') | remoting/proto/event.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698