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

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

Issue 11192042: Protocol plumbing for audio toggle. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 /** 50 /**
51 * Set of features for which hasFeature() can be used to test. 51 * Set of features for which hasFeature() can be used to test.
52 * 52 *
53 * @enum {string} 53 * @enum {string}
54 */ 54 */
55 remoting.ClientPlugin.Feature = { 55 remoting.ClientPlugin.Feature = {
56 HIGH_QUALITY_SCALING: 'highQualityScaling', 56 HIGH_QUALITY_SCALING: 'highQualityScaling',
57 INJECT_KEY_EVENT: 'injectKeyEvent', 57 INJECT_KEY_EVENT: 'injectKeyEvent',
58 NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions', 58 NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions',
59 PAUSE_VIDEO: 'pauseVideo', 59 PAUSE_VIDEO: 'pauseVideo',
60 PAUSE_AUDIO: 'pauseAudio',
60 REMAP_KEY: 'remapKey', 61 REMAP_KEY: 'remapKey',
61 SEND_CLIPBOARD_ITEM: 'sendClipboardItem' 62 SEND_CLIPBOARD_ITEM: 'sendClipboardItem'
62 }; 63 };
63 64
64 /** 65 /**
65 * @param {remoting.ClientPlugin.Feature} feature The feature to test for. 66 * @param {remoting.ClientPlugin.Feature} feature The feature to test for.
66 * @return {boolean} True if the plugin supports the named feature. 67 * @return {boolean} True if the plugin supports the named feature.
67 */ 68 */
68 remoting.ClientPlugin.prototype.hasFeature = function(feature) {}; 69 remoting.ClientPlugin.prototype.hasFeature = function(feature) {};
69 70
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 remoting.ClientPlugin.prototype.notifyClientDimensions = 147 remoting.ClientPlugin.prototype.notifyClientDimensions =
147 function(width, height) {}; 148 function(width, height) {};
148 149
149 /** 150 /**
150 * Requests that the host pause or resume sending video updates. 151 * Requests that the host pause or resume sending video updates.
151 * 152 *
152 * @param {boolean} pause True to suspend video updates, false otherwise. 153 * @param {boolean} pause True to suspend video updates, false otherwise.
153 */ 154 */
154 remoting.ClientPlugin.prototype.pauseVideo = 155 remoting.ClientPlugin.prototype.pauseVideo =
155 function(pause) {}; 156 function(pause) {};
157
158 /**
159 * Requests that the host pause or resume sending audio updates.
160 *
161 * @param {boolean} pause True to suspend audio updates, false otherwise.
162 */
163 remoting.ClientPlugin.prototype.pauseAudio =
164 function(pause) {};
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