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

Unified Diff: ui/file_manager/gallery/js/image_editor/image_transform.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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: ui/file_manager/gallery/js/image_editor/image_transform.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_transform.js b/ui/file_manager/gallery/js/image_editor/image_transform.js
index f6559f32ebfd4e69763bb547acb371cf5215e4a2..7e26fe9ec2d6e7fcc9b50924a1c51783df5b946c 100644
--- a/ui/file_manager/gallery/js/image_editor/image_transform.js
+++ b/ui/file_manager/gallery/js/image_editor/image_transform.js
@@ -283,7 +283,7 @@ function DraggableRect(rect, viewport) {
/**
* Viewport.
*
- * @param {Viewport}
+ * @type {Viewport}
* @private
*/
this.viewport_ = viewport;
@@ -469,8 +469,8 @@ DraggableRect.prototype.getCursorStyle = function(x, y, mouseDown) {
/**
* Obtains the drag handler depending on the coordinate.
*
- * @param {number} startScreenX X coordinate for cursor in the screen.
- * @param {number} startScreenY Y coordinate for cursor in the screen.
+ * @param {number} initialScreenX X coordinate for cursor in the screen.
+ * @param {number} initialScreenY Y coordinate for cursor in the screen.
* @param {boolean} touch Whether the operation is done by touch or not.
* @return {function(number,number,boolean)} Drag handler that takes x
* coordinate value, y coordinate value, and shift key flag.
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_encoder.js ('k') | ui/file_manager/gallery/js/image_editor/image_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698