| Index: remoting/webapp/crd/js/connected_view.js
|
| diff --git a/remoting/webapp/crd/js/connected_view.js b/remoting/webapp/crd/js/connected_view.js
|
| index 73f300ce48e91187282b559bfbde9f750aa96e64..f92656c243ef35f09b6a57829c575c73918b848e 100644
|
| --- a/remoting/webapp/crd/js/connected_view.js
|
| +++ b/remoting/webapp/crd/js/connected_view.js
|
| @@ -42,12 +42,11 @@ remoting.ConnectedView = function(plugin, viewportElement, cursorElement) {
|
| /** private */
|
| this.disposables_ = new base.Disposables(
|
| this.cursor_,
|
| - new base.DomEventHook(pluginElement, 'focus',
|
| - this.onPluginGotFocus_.bind(this), false),
|
| new base.DomEventHook(pluginElement, 'blur',
|
| this.onPluginLostFocus_.bind(this), false),
|
| new base.DomEventHook(document, 'visibilitychange',
|
| - this.onVisibilityChanged_.bind(this), false)
|
| + this.onVisibilityChanged_.bind(this), false),
|
| + new remoting.Clipboard(plugin)
|
| );
|
|
|
| // TODO(wez): Only allow mouse lock if the app has the pointerLock permission.
|
| @@ -91,14 +90,6 @@ remoting.ConnectedView.prototype.onConnectionReady = function(ready) {
|
| };
|
|
|
| /**
|
| - * Callback function called when the plugin element gets focus.
|
| - * @private
|
| - */
|
| -remoting.ConnectedView.prototype.onPluginGotFocus_ = function() {
|
| - remoting.clipboard.initiateToHost();
|
| -};
|
| -
|
| -/**
|
| * Callback function called when the plugin element loses focus.
|
| * @private
|
| */
|
|
|