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

Side by Side Diff: remoting/webapp/base/js/client_plugin_impl.js

Issue 1133913002: [Chromoting] Move shared webapp JS files from crd/js -> base/js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Class that wraps low-level details of interacting with the client plugin. 7 * Class that wraps low-level details of interacting with the client plugin.
8 * 8 *
9 * This abstracts a <embed> element and controls the plugin which does 9 * This abstracts a <embed> element and controls the plugin which does
10 * the actual remoting work. It also handles differences between 10 * the actual remoting work. It also handles differences between
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 remoting.DefaultClientPluginFactory.prototype.preloadPlugin = function() { 902 remoting.DefaultClientPluginFactory.prototype.preloadPlugin = function() {
903 if (remoting.settings.CLIENT_PLUGIN_TYPE != 'pnacl') { 903 if (remoting.settings.CLIENT_PLUGIN_TYPE != 'pnacl') {
904 return; 904 return;
905 } 905 }
906 906
907 var plugin = remoting.ClientPluginImpl.createPluginElement_(); 907 var plugin = remoting.ClientPluginImpl.createPluginElement_();
908 plugin.addEventListener( 908 plugin.addEventListener(
909 'loadend', function() { document.body.removeChild(plugin); }, false); 909 'loadend', function() { document.body.removeChild(plugin); }, false);
910 document.body.appendChild(plugin); 910 document.body.appendChild(plugin);
911 }; 911 };
OLDNEW
« no previous file with comments | « remoting/webapp/base/js/client_plugin_host_desktop_impl.js ('k') | remoting/webapp/base/js/client_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698