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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_plugin.js
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js
index 93d4d615922027f2cf2f882d72cad1bfc5efa54b..584b6b23b18830cf3bac28b0124e9d47ec5e3e06 100644
--- a/remoting/webapp/client_plugin.js
+++ b/remoting/webapp/client_plugin.js
@@ -57,6 +57,7 @@ remoting.ClientPlugin.Feature = {
INJECT_KEY_EVENT: 'injectKeyEvent',
NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions',
PAUSE_VIDEO: 'pauseVideo',
+ PAUSE_AUDIO: 'pauseAudio',
REMAP_KEY: 'remapKey',
SEND_CLIPBOARD_ITEM: 'sendClipboardItem'
};
@@ -153,3 +154,11 @@ remoting.ClientPlugin.prototype.notifyClientDimensions =
*/
remoting.ClientPlugin.prototype.pauseVideo =
function(pause) {};
+
+/**
+ * Requests that the host pause or resume sending audio updates.
+ *
+ * @param {boolean} pause True to suspend audio updates, false otherwise.
+ */
+remoting.ClientPlugin.prototype.pauseAudio =
+ function(pause) {};
« 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