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

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: Move implementation out to remoting.VideoFrameRecorder. Created 6 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 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 f1f0bac225af4c5576358136738ddaa35711fd47..b65383a451f0cdba75f11017b6adf7bf01d2d1d1 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -371,6 +371,9 @@ remoting.onConnected = function(clientSession) {
* @return {boolean} Return true if the extension message was recognized.
*/
remoting.onExtensionMessage = function(type, data) {
+ if (remoting.clientSession) {
+ return remoting.clientSession.handleExtensionMessage(type, data);
+ }
return false;
};

Powered by Google App Engine
This is Rietveld 408576698