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

Unified Diff: remoting/webapp/app_remoting/js/drag_and_drop.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/drag_and_drop.js
diff --git a/remoting/webapp/app_remoting/js/drag_and_drop.js b/remoting/webapp/app_remoting/js/drag_and_drop.js
index dbe68d5e29ebfda3ef9c58cf36498a722ca54c7f..7861ad196ab60ab0fad4b373890394304c6befd9 100644
--- a/remoting/webapp/app_remoting/js/drag_and_drop.js
+++ b/remoting/webapp/app_remoting/js/drag_and_drop.js
@@ -23,53 +23,31 @@ var remoting = remoting || {};
*/
remoting.DragAndDrop = function(element, dragUpdate,
opt_dragStart, opt_dragEnd) {
- /**
- * @private
- */
+ /** @private */
this.element_ = element;
- /**
- * @private
- */
+ /** @private */
this.dragUpdate_ = dragUpdate;
- /**
- * @private
- */
+ /** @private */
this.dragStart_ = opt_dragStart;
- /**
- * @private
- */
+ /** @private */
this.dragEnd_ = opt_dragEnd;
- /**
- * @type {number}
- * @private
- */
+ /** @private {number} */
this.previousDeltaX_ = 0;
- /**
- * @type {number}
- * @private
- */
+ /** @private {number} */
this.previousDeltaY_ = 0;
- /**
- * @type {boolean}
- */
+ /** @type {boolean} */
this.seenNonZeroDelta_ = false;
- /**
- * @type {function(Event):void}
- * @private
- */
+ /** @private {function(Event):void} */
this.callOnMouseUp_ = this.onMouseUp_.bind(this);
- /**
- * @type {function(Event):void}
- * @private
- */
+ /** @private {function(Event):void} */
this.callOnMouseMove_ = this.onMouseMove_.bind(this);
element.addEventListener('mousedown', this.onMouseDown_.bind(this), false);
« no previous file with comments | « remoting/webapp/app_remoting/js/context_menu_dom.js ('k') | remoting/webapp/app_remoting/js/idle_detector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698