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

Unified Diff: remoting/webapp/crd/js/client_plugin_impl.js

Issue 944123003: Hack webapp to request keyboard events on connection. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hacked up chromoting client and using mouse lock instead of keyboard lock for bubble. Created 5 years, 10 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/crd/js/client_plugin_impl.js
diff --git a/remoting/webapp/crd/js/client_plugin_impl.js b/remoting/webapp/crd/js/client_plugin_impl.js
index 1bdfbc29f26796caabe5542628c4fe558ed99269..b9b8bedb2f1c1bb5ada5334ee90d047023dc3880 100644
--- a/remoting/webapp/crd/js/client_plugin_impl.js
+++ b/remoting/webapp/crd/js/client_plugin_impl.js
@@ -601,8 +601,7 @@ remoting.ClientPluginImpl.prototype.connect = function(
// previous versions of Chrome, see http://crbug.com/447403 .
// Currently PPAPI doesn't provide a way for plugins to check the Chrome
// version, so this check needs to be in the webapp.
- var enableVideoDecodeRenderer =
- parseInt((remoting.getChromeVersion() || '0').split('.')[0], 10) >= 42;
+ var enableVideoDecodeRenderer = false;
this.plugin_.postMessage(JSON.stringify(
{ method: 'delegateLargeCursors', data: {} }));
this.plugin_.postMessage(JSON.stringify(
« no previous file with comments | « extensions/shell/browser/shell_native_app_window.cc ('k') | remoting/webapp/crd/js/desktop_connected_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698