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

Unified Diff: remoting/client/jni/chromoting_jni_instance.h

Issue 214173002: Send TextEvent message from Android client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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/jni/chromoting_jni_instance.h
diff --git a/remoting/client/jni/chromoting_jni_instance.h b/remoting/client/jni/chromoting_jni_instance.h
index 64be7415568fcddc7ea412cf49140a23c095aee5..edb8b4a8081ac401c7a2435a1887cf60575f93b8 100644
--- a/remoting/client/jni/chromoting_jni_instance.h
+++ b/remoting/client/jni/chromoting_jni_instance.h
@@ -65,14 +65,15 @@ class ChromotingJniInstance
// Moves the host's cursor to the specified coordinates, optionally with some
// mouse button depressed. If |button| is BUTTON_UNDEFINED, no click is made.
- void PerformMouseAction(int x, int y,
- protocol::MouseEvent_MouseButton button,
- bool button_down);
-
- void PerformMouseWheelDeltaAction(int delta_x, int delta_y);
+ void SendMouseEvent(int x, int y,
+ protocol::MouseEvent_MouseButton button,
+ bool button_down);
+ void SendMouseWheelEvent(int delta_x, int delta_y);
// Sends the provided keyboard scan code to the host.
- void PerformKeyboardAction(int key_code, bool key_down);
+ void SendKeyEvent(int key_code, bool key_down);
+
+ void SendTextEvent(const std::string& text);
// Records paint time for statistics logging, if enabled. May be called from
// any thread.

Powered by Google App Engine
This is Rietveld 408576698