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

Unified Diff: remoting/webapp/client_plugin_v1.js

Issue 10265033: Send new client dimensions to host whenever they change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 8 years, 8 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_async.js ('k') | remoting/webapp/client_session.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_plugin_v1.js
diff --git a/remoting/webapp/client_plugin_v1.js b/remoting/webapp/client_plugin_v1.js
index e67887bd4401525ac3d30464666a5ae0a8f6d80b..c4d460779deb890c519700474a0f4bfe64b0c555 100644
--- a/remoting/webapp/client_plugin_v1.js
+++ b/remoting/webapp/client_plugin_v1.js
@@ -230,20 +230,20 @@ remoting.ClientPluginV1.prototype.getPerfStats = function() {
};
/**
- * This dummy method exists only so that this class implements ClientPlugin.
- *
- * @param {string} mimeType The MIME type of the clipboard item.
- * @param {string} item The clipboard item.
+ * These dummy methods exist only so that this class implements ClientPlugin.
+ */
+
+/**
+ * @param {string} mimeType
+ * @param {string} item
*/
remoting.ClientPluginV1.prototype.sendClipboardItem = function(mimeType, item) {
return;
};
/**
- * This dummy method exists only so that this class implements ClientPlugin.
- *
- * @param {number} usbKeycode The USB-style code of the key to inject.
- * @param {boolean} pressed True to inject a key press, False for a release.
+ * @param {number} usbKeycode
+ * @param {boolean} pressed
*/
remoting.ClientPluginV1.prototype.injectKeyEvent =
function(usbKeycode, pressed) {
@@ -251,12 +251,19 @@ remoting.ClientPluginV1.prototype.injectKeyEvent =
};
/**
- * Remap one USB keycode to another in all subsequent key events.
- *
- * @param {number} fromKeycode The USB-style code of the key to remap.
- * @param {number} toKeycode The USB-style code to remap the key to.
+ * @param {number} fromKeycode
+ * @param {number} toKeycode
*/
remoting.ClientPluginV1.prototype.remapKey =
function(fromKeycode, toKeycode) {
return;
};
+
+/**
+ * @param {number} width
+ * @param {number} height
+ */
+remoting.ClientPluginV1.prototype.notifyClientDimensions =
+ function(width, height) {
+ return;
+};
« no previous file with comments | « remoting/webapp/client_plugin_async.js ('k') | remoting/webapp/client_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698