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

Unified Diff: remoting/client/chromoting_session.cc

Issue 2868383003: [CRD iOS] Send key events to the session. (Closed)
Patch Set: Adding backspace support to the keyboard. 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..4c3357c769f2d6aea75647b7c96a1697706cc053 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 usb_key_code, bool key_down) {
+ SendKeyEventInternal(usb_key_code, key_down);
Yuwei 2017/05/15 19:38:06 Could we just move the SendKeyEventInternal implem
nicholss 2017/05/15 23:06:10 I realized I don't need to do this anymore.
+ return true;
+}
+
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