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

Unified Diff: remoting/webapp/client_screen.js

Issue 386853002: Add a Record button to the web-app if the host supports video recording. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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
Index: remoting/webapp/client_screen.js
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index 58a2a057483f69488408bff13a5486752e0a15b0..9bd5ef3788eb2ca57cba82e955090c0f2180a89d 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -360,6 +360,10 @@ remoting.onConnected = function(clientSession) {
* @return {boolean} Return true if the extension message was recognized.
*/
remoting.onExtensionMessage = function(type, data) {
+ if (remoting.clientSession &&
+ remoting.clientSession.handleVideoRecorderMessage(type, data)) {
Jamie 2014/08/01 01:28:36 Since handleVideoRecorderMessage has side-effects,
Wez 2014/08/19 00:15:52 Done.
+ return true;
+ }
return false;
};

Powered by Google App Engine
This is Rietveld 408576698