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

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

Issue 983023002: [Chromoting] Use compact notation for javascript @private types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « remoting/webapp/crd/js/credentials_provider.js ('k') | remoting/webapp/crd/js/desktop_remoting.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/desktop_connected_view.js
diff --git a/remoting/webapp/crd/js/desktop_connected_view.js b/remoting/webapp/crd/js/desktop_connected_view.js
index b40b63d183f29ecccffacc4e3edd407feccd9a1e..a1e26905273408d0b54760a5fcd5f5d149277658 100644
--- a/remoting/webapp/crd/js/desktop_connected_view.js
+++ b/remoting/webapp/crd/js/desktop_connected_view.js
@@ -39,10 +39,10 @@ remoting.DesktopConnectedView = function(session, container, host, mode,
defaultRemapKeys, onInitialized) {
this.session_ = session;
- /** @type {HTMLElement} @private */
+ /** @private {HTMLElement} */
this.container_ = container;
- /** @type {remoting.ClientPlugin} @private */
+ /** @private {remoting.ClientPlugin} */
this.plugin_ = null;
/** @private */
@@ -51,7 +51,7 @@ remoting.DesktopConnectedView = function(session, container, host, mode,
/** @private */
this.mode_ = mode;
- /** @type {string} @private */
+ /** @private {string} */
this.defaultRemapKeys_ = defaultRemapKeys;
/**
@@ -64,11 +64,11 @@ remoting.DesktopConnectedView = function(session, container, host, mode,
this.callPluginLostFocus_ = this.pluginLostFocus_.bind(this);
/** @private */
this.callPluginGotFocus_ = this.pluginGotFocus_.bind(this);
- /** @type {Element} @private */
+ /** @private {Element} */
this.debugRegionContainer_ =
this.container_.querySelector('.debug-region-container');
- /** @type {Element} @private */
+ /** @private {Element} */
this.mouseCursorOverlay_ =
this.container_.querySelector('.mouse-cursor-overlay');
@@ -77,13 +77,16 @@ remoting.DesktopConnectedView = function(session, container, host, mode,
/** @type {Element} */
var img = this.mouseCursorOverlay_;
- /** @param {Event} event @private */
+ /**
+ * @param {Event} event
+ * @private
+ */
this.updateMouseCursorPosition_ = function(event) {
img.style.top = event.offsetY + 'px';
img.style.left = event.offsetX + 'px';
};
- /** @type {remoting.VideoFrameRecorder} @private */
+ /** @private {remoting.VideoFrameRecorder} */
this.videoFrameRecorder_ = null;
/** private {base.Disposable} */
« no previous file with comments | « remoting/webapp/crd/js/credentials_provider.js ('k') | remoting/webapp/crd/js/desktop_remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698