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

Side by Side Diff: remoting/webapp/client_plugin.js

Issue 22477006: Added JsonMessage to the control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/webapp/client_plugin_async.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @suppress {duplicate} */ 5 /** @suppress {duplicate} */
6 var remoting = remoting || {}; 6 var remoting = remoting || {};
7 7
8 /** 8 /**
9 * Interface used for ClientPlugin objects. 9 * Interface used for ClientPlugin objects.
10 * @interface 10 * @interface
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 INJECT_KEY_EVENT: 'injectKeyEvent', 60 INJECT_KEY_EVENT: 'injectKeyEvent',
61 NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions', 61 NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions',
62 NOTIFY_CLIENT_RESOLUTION: 'notifyClientResolution', 62 NOTIFY_CLIENT_RESOLUTION: 'notifyClientResolution',
63 ASYNC_PIN: 'asyncPin', 63 ASYNC_PIN: 'asyncPin',
64 PAUSE_VIDEO: 'pauseVideo', 64 PAUSE_VIDEO: 'pauseVideo',
65 PAUSE_AUDIO: 'pauseAudio', 65 PAUSE_AUDIO: 'pauseAudio',
66 REMAP_KEY: 'remapKey', 66 REMAP_KEY: 'remapKey',
67 SEND_CLIPBOARD_ITEM: 'sendClipboardItem', 67 SEND_CLIPBOARD_ITEM: 'sendClipboardItem',
68 THIRD_PARTY_AUTH: 'thirdPartyAuth', 68 THIRD_PARTY_AUTH: 'thirdPartyAuth',
69 TRAP_KEY: 'trapKey', 69 TRAP_KEY: 'trapKey',
70 PINLESS_AUTH: 'pinlessAuth' 70 PINLESS_AUTH: 'pinlessAuth',
71 EXTENSION_MESSAGE: 'extensionMessage'
71 }; 72 };
72 73
73 /** 74 /**
74 * @param {remoting.ClientPlugin.Feature} feature The feature to test for. 75 * @param {remoting.ClientPlugin.Feature} feature The feature to test for.
75 * @return {boolean} True if the plugin supports the named feature. 76 * @return {boolean} True if the plugin supports the named feature.
76 */ 77 */
77 remoting.ClientPlugin.prototype.hasFeature = function(feature) {}; 78 remoting.ClientPlugin.prototype.hasFeature = function(feature) {};
78 79
79 /** 80 /**
80 * @return {HTMLEmbedElement} HTML element that corresponds to the plugin. 81 * @return {HTMLEmbedElement} HTML element that corresponds to the plugin.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 /** 210 /**
210 * Request pairing with the host for PIN-less authentication. 211 * Request pairing with the host for PIN-less authentication.
211 * 212 *
212 * @param {string} clientName The human-readable name of the client. 213 * @param {string} clientName The human-readable name of the client.
213 * @param {function(string, string):void} onDone, Callback to receive the 214 * @param {function(string, string):void} onDone, Callback to receive the
214 * client id and shared secret when they are available. 215 * client id and shared secret when they are available.
215 */ 216 */
216 remoting.ClientPlugin.prototype.requestPairing = function( 217 remoting.ClientPlugin.prototype.requestPairing = function(
217 clientName, onDone) {}; 218 clientName, onDone) {};
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/webapp/client_plugin_async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698