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

Unified Diff: remoting/webapp/app_remoting/js/context_menu_dom.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
Index: remoting/webapp/app_remoting/js/context_menu_dom.js
diff --git a/remoting/webapp/app_remoting/js/context_menu_dom.js b/remoting/webapp/app_remoting/js/context_menu_dom.js
index 01c83b5982b27678df11c4085fccd7799b5f4871..0338e6fcb4adb128577e996847caff1224cbf265 100644
--- a/remoting/webapp/app_remoting/js/context_menu_dom.js
+++ b/remoting/webapp/app_remoting/js/context_menu_dom.js
@@ -31,56 +31,31 @@ var remoting = remoting || {};
* @param {HTMLElement} root The root of the context menu DOM.
*/
remoting.ContextMenuDom = function(root) {
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.root_ = root;
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.stub_ = /** @type {HTMLElement} */
(this.root_.querySelector('.context-menu-stub'));
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.icon_ = /** @type {HTMLElement} */
(this.root_.querySelector('.context-menu-icon'));
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.screen_ = /** @type {HTMLElement} */
(this.root_.querySelector('.context-menu-screen'));
- /**
- * @type {HTMLElement}
- * @private
- */
+ /** @private {HTMLElement} */
this.menu_ = /** @type {HTMLElement} */ (this.root_.querySelector('ul'));
- /**
- * @type {number}
- * @private
- */
+ /** @private {number} */
this.bottom_ = 8;
- /**
- * @type {base.EventSourceImpl}
- * @private
- */
+ /** @private {base.EventSourceImpl} */
this.eventSource_ = new base.EventSourceImpl();
- /**
- * @type {string}
- * @private
- */
+ /** @private {string} */
this.eventName_ = '_click';
/**
* Since the same element is used to lock the icon open and to drag it, we
* must keep track of drag events so that the corresponding click event can
* be ignored.
*
- * @type {boolean}
- * @private
+ * @private {boolean}
*/
this.stubDragged_ = false;
« no previous file with comments | « remoting/webapp/app_remoting/js/application_context_menu.js ('k') | remoting/webapp/app_remoting/js/drag_and_drop.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698