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

Unified Diff: remoting/webapp/crd/js/window_frame.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/wcs_sandbox_content.js ('k') | remoting/webapp/crd/js/xhr_proxy.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/window_frame.js
diff --git a/remoting/webapp/crd/js/window_frame.js b/remoting/webapp/crd/js/window_frame.js
index f6897599cce86eee82aa14a962bd56b5d1bb0348..72146e88ef88402bf46c19b311109dce500fcb04 100644
--- a/remoting/webapp/crd/js/window_frame.js
+++ b/remoting/webapp/crd/js/window_frame.js
@@ -17,30 +17,18 @@ var remoting = remoting || {};
* @constructor
*/
remoting.WindowFrame = function(titleBar) {
- /**
- * @type {remoting.DesktopConnectedView}
- * @private
- */
+ /** @private {remoting.DesktopConnectedView} */
this.desktopConnectedView_ = null;
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.titleBar_ = titleBar;
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.title_ = /** @type {HTMLElement} */
(titleBar.querySelector('.window-title'));
base.debug.assert(this.title_ != null);
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.maximizeRestoreControl_ = /** @type {HTMLElement} */
(titleBar.querySelector('.window-maximize-restore'));
base.debug.assert(this.maximizeRestoreControl_ != null);
@@ -52,10 +40,7 @@ remoting.WindowFrame = function(titleBar) {
this.onShowOptionsMenu_.bind(this),
this.onHideOptionsMenu_.bind(this));
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.optionsMenuList_ = /** @type {HTMLElement} */
(optionsButton.querySelector('.window-options-menu'));
base.debug.assert(this.optionsMenuList_ != null);
« no previous file with comments | « remoting/webapp/crd/js/wcs_sandbox_content.js ('k') | remoting/webapp/crd/js/xhr_proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698