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

Unified Diff: remoting/webapp/crd/js/toolbar.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/third_party_token_fetcher.js ('k') | remoting/webapp/crd/js/wcs.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/toolbar.js
diff --git a/remoting/webapp/crd/js/toolbar.js b/remoting/webapp/crd/js/toolbar.js
index e901b873fcc103cb99e860e3512c423d2791ec17..a06e2e5acfe37eb463ed5ee8d61d013226d1a15c 100644
--- a/remoting/webapp/crd/js/toolbar.js
+++ b/remoting/webapp/crd/js/toolbar.js
@@ -17,44 +17,23 @@ var remoting = remoting || {};
* @constructor
*/
remoting.Toolbar = function(toolbar) {
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.toolbar_ = toolbar;
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.stub_ =
/** @type {HTMLElement} */(toolbar.querySelector('.toolbar-stub'));
- /**
- * @type {number?} The id of the preview timer, if any.
- * @private
- */
+ /** @private {number?} The id of the preview timer, if any. */
this.timerId_ = null;
- /**
- * @type {number} The left edge of the tool-bar stub, updated on resize.
- * @private
- */
+ /** @private {number} Left edge of the toolbar stub, updated on resize. */
this.stubLeft_ = 0;
- /**
- * @type {number} The right edge of the tool-bar stub, updated on resize.
- * @private
- */
+ /** @private {number} Right edge of the toolbar stub, updated on resize. */
this.stubRight_ = 0;
- /**
- * @type {remoting.MenuButton}
- * @private
- */
+ /** @private {remoting.MenuButton} */
this.screenOptionsMenu_ = new remoting.MenuButton(
document.getElementById('screen-options-menu'),
this.onShowOptionsMenu_.bind(this));
- /**
- * @type {remoting.MenuButton}
- * @private
- */
+ /** @private {remoting.MenuButton} */
this.sendKeysMenu_ = new remoting.MenuButton(
document.getElementById('send-keys-menu')
);
« no previous file with comments | « remoting/webapp/crd/js/third_party_token_fetcher.js ('k') | remoting/webapp/crd/js/wcs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698