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

Unified Diff: remoting/client/chromoting_session.cc

Issue 2868383003: [CRD iOS] Send key events to the session. (Closed)
Patch Set: Clean up old key input code. No longer used. Created 3 years, 7 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/chromoting_session.cc
diff --git a/remoting/client/chromoting_session.cc b/remoting/client/chromoting_session.cc
index 3349749ec793e80073c4cd9e378f75898e399624..0575d04e873c04e20b446b92e85ff10a7be43f6f 100644
--- a/remoting/client/chromoting_session.cc
+++ b/remoting/client/chromoting_session.cc
@@ -204,6 +204,11 @@ bool ChromotingSession::SendKeyEvent(int scan_code,
return true;
}
+bool ChromotingSession::SendKeyEvent(int key_code, bool key_down) {
+ SendKeyEventInternal(key_code, key_down);
+ return true;
+}
joedow 2017/05/12 19:13:17 Drive-by: This code looks a bit like the function
nicholss 2017/05/12 20:45:57 I have updated to use usb_key_code as the param na
+
void ChromotingSession::SendTextEvent(const std::string& text) {
if (!runtime_->network_task_runner()->BelongsToCurrentThread()) {
runtime_->network_task_runner()->PostTask(

Powered by Google App Engine
This is Rietveld 408576698