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

Unified Diff: remoting/webapp/client_plugin_async.js

Issue 9958146: Revert 130500 - Merge 130082 - Add an injectKeyEvent API to the Chromoting client plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/
Patch Set: Created 8 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
« no previous file with comments | « remoting/webapp/client_plugin.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_plugin_async.js
===================================================================
--- remoting/webapp/client_plugin_async.js (revision 130517)
+++ remoting/webapp/client_plugin_async.js (working copy)
@@ -267,21 +267,6 @@
};
/**
- * Send a key event to the host.
- *
- * @param {number} usb_keycode The USB-style code of the key to inject.
- * @param {boolean} pressed True to inject a key press, False for a release.
- */
-remoting.ClientPluginAsync.prototype.injectKey =
- function(usb_keycode, pressed) {
- this.plugin.postMessage(JSON.stringify(
- { method: 'injectKeyEvent', data: {
- 'usb_keycode': usb_keycode,
- 'pressed': pressed}
- }));
-};
-
-/**
* Returns an associative array with a set of stats for this connecton.
*
* @return {remoting.ClientSession.PerfStats} The connection statistics.
« no previous file with comments | « remoting/webapp/client_plugin.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698