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

Unified Diff: remoting/webapp/client_plugin.js

Issue 343983003: Use PNaCl in V2 builds of the remoting webapp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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_plugin.js
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js
index 12fd0c053fbd5884405e30ce1e82a7be4d5745f4..2527fb5f4d912d375aacaac711998bb2e48d37cb 100644
--- a/remoting/webapp/client_plugin.js
+++ b/remoting/webapp/client_plugin.js
@@ -84,7 +84,10 @@ remoting.ClientPlugin = function(plugin, onExtensionMessage) {
this.plugin.addEventListener('message', function(event) {
that.handleMessage_(event.data);
}, false);
- window.setTimeout(this.showPluginForClickToPlay_.bind(this), 500);
+
+ if (remoting.settings.CLIENT_PLUGIN_TYPE == 'native') {
+ window.setTimeout(this.showPluginForClickToPlay_.bind(this), 500);
+ }
};
/**

Powered by Google App Engine
This is Rietveld 408576698