Index: remoting/client/jni/chromoting_jni_instance.h |
diff --git a/remoting/client/jni/chromoting_jni_instance.h b/remoting/client/jni/chromoting_jni_instance.h |
index 8fb60232df5912f52e2dfe50876e39ab3ae11248..91919b27e5bc5e3d365db31c87466b4b251ce92c 100644 |
--- a/remoting/client/jni/chromoting_jni_instance.h |
+++ b/remoting/client/jni/chromoting_jni_instance.h |
@@ -87,7 +87,7 @@ class ChromotingJniInstance |
void SendMouseWheelEvent(int delta_x, int delta_y); |
// Sends the provided keyboard scan code to the host. |
- void SendKeyEvent(int key_code, bool key_down); |
+ bool SendKeyEvent(int key_code, bool key_down); |
void SendTextEvent(const std::string& text); |
@@ -136,6 +136,8 @@ class ChromotingJniInstance |
// Sets the device name. Can be called on any thread. |
void SetDeviceName(const std::string& device_name); |
+ void SendKeyEventInternal(int usb_key_code, bool key_down); |
+ |
// Enables or disables periodic logging of performance statistics. Called on |
// the network thread. |
void EnableStatsLogging(bool enabled); |