Home | History | Annotate | Download | only in webapp

Lines Matching refs:plugin_

100   this.plugin_ = null;
207 needsVerticalScroll = clientArea.height < this.plugin_.getDesktopHeight();
208 needsHorizontalScroll = clientArea.width < this.plugin_.getDesktopWidth();
212 clientArea.height - kScrollBarWidth < this.plugin_.getDesktopHeight();
215 clientArea.width - kScrollBarWidth < this.plugin_.getDesktopWidth();
359 // this.plugin_.notifyClientResolution().
398 if (this.plugin_) {
400 this.plugin_.releaseAllKeys();
401 if (this.plugin_.element()) {
406 this.plugin_.element().focus.bind(this.plugin_.element()), 0);
420 this.plugin_ = remoting.ClientPlugin.factory.createPlugin(
453 this.plugin_.initialize(this.onPluginInitialized_.bind(this));
461 this.plugin_.element().addEventListener(
463 this.plugin_.element().addEventListener(
465 this.plugin_.element().focus();
473 this.plugin_.dispose();
474 this.plugin_ = null;
489 if (!this.plugin_.isSupportedVersion()) {
496 if (!this.plugin_.hasFeature(
506 if (this.plugin_.hasFeature(remoting.ClientPlugin.Feature.REMAP_KEY)) {
514 this.plugin_.hasFeature(
524 this.plugin_.enableMediaSourceRendering(renderer);
530 this.plugin_.setOnOutgoingIqHandler(this.sendIq_.bind(this));
531 this.plugin_.setOnDebugMessageHandler(
537 this.plugin_.setConnectionStatusUpdateHandler(
539 this.plugin_.setConnectionReadyHandler(this.onConnectionReady_.bind(this));
540 this.plugin_.setDesktopSizeUpdateHandler(
542 this.plugin_.setCapabilitiesHandler(this.onSetCapabilities_.bind(this));
543 this.plugin_.setGnubbyAuthHandler(
545 this.plugin_.setMouseCursorHandler(this.updateMouseCursorImage_.bind(this));
546 this.plugin_.setCastExtensionHandler(
559 if (this.plugin_) {
560 this.plugin_.element().removeEventListener(
562 this.plugin_.element().removeEventListener(
564 this.plugin_.dispose();
565 this.plugin_ = null;
666 this.plugin_.injectKeyEvent(keys[i], true);
669 this.plugin_.injectKeyEvent(keys[i], false);
743 this.plugin_.remapKey(fromKey, toKey);
746 this.plugin_.remapKey(fromKey, fromKey);
768 this.plugin_.notifyClientResolution(clientArea.width,
844 if (!this.plugin_) {
850 this.plugin_.onIncomingIq(formatted);
862 that.plugin_.connect(
881 if (this.plugin_.hasFeature(remoting.ClientPlugin.Feature.THIRD_PARTY_AUTH)) {
886 that.plugin_.onThirdPartyTokenFetched.bind(that.plugin_));
888 this.plugin_.setFetchThirdPartyTokenHandler(fetchThirdPartyToken);
893 } else if (this.plugin_.hasFeature(
896 this.plugin_.useAsyncPinDialog();
900 that.plugin_.onPinFetched.bind(that.plugin_));
902 this.plugin_.setFetchPinHandler(fetchPin);
926 this.plugin_.notifyClientResolution(clientArea.width,
1004 this.plugin_.notifyClientResolution(clientArea.width,
1010 this.videoFrameRecorder_ = new remoting.VideoFrameRecorder(this.plugin_);
1072 this.plugin_.notifyClientResolution.bind(this.plugin_,
1093 if (this.plugin_) {
1094 this.plugin_.pauseVideo(pause);
1105 if (this.plugin_) {
1106 this.plugin_.pauseAudio(pause)
1119 this.plugin_.getDesktopWidth() + 'x' +
1120 this.plugin_.getDesktopHeight() +' @ ' +
1121 this.plugin_.getDesktopXDpi() + 'x' +
1122 this.plugin_.getDesktopYDpi() + ' DPI');
1134 if (this.plugin_.getDesktopWidth() == 0 ||
1135 this.plugin_.getDesktopHeight() == 0) {
1140 var desktopWidth = this.plugin_.getDesktopWidth();
1141 var desktopHeight = this.plugin_.getDesktopHeight();
1155 var hostPixelRatioX = Math.ceil(this.plugin_.getDesktopXDpi() / 96);
1156 var hostPixelRatioY = Math.ceil(this.plugin_.getDesktopYDpi() / 96);
1199 this.plugin_.element().style.width = pluginWidth + 'px';
1200 this.plugin_.element().style.height = pluginHeight + 'px';
1206 var parentNode = this.plugin_.element().parentNode;
1220 return this.plugin_.getPerfStats();
1252 if (this.plugin_) {
1253 this.plugin_.requestPairing(clientName, onDone);
1308 var plugin = this.plugin_.element();
1411 if (!this.plugin_)
1413 this.plugin_.sendClipboardItem(mimeType, item);
1421 if (!this.plugin_)
1423 this.plugin_.sendClientMessage('gnubby-auth', JSON.stringify(data));
1500 if (!this.plugin_)
1502 this.plugin_.sendClientMessage('cast_message', JSON.stringify(data));