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

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

Issue 450903002: Random clean up around Chrome OS file manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_view.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_view.js b/ui/file_manager/gallery/js/image_editor/image_view.js
index da9311cc5280b522f2ba49aefbde05aa2d3ac7c3..a41cf749be0fd34d84715105cbdcf1207c8a711c 100644
--- a/ui/file_manager/gallery/js/image_editor/image_view.js
+++ b/ui/file_manager/gallery/js/image_editor/image_view.js
@@ -251,7 +251,7 @@ ImageView.prototype.cancelLoad = function() {
* @param {Gallery.Item} item Gallery item to be loaded.
* @param {Object} effect Transition effect object.
* @param {function(number} displayCallback Called when the image is displayed
- * (possibly as a prevew).
+ * (possibly as a preview).
* @param {function(number} loadCallback Called when the image is fully loaded.
* The parameter is the load type.
*/
@@ -697,7 +697,7 @@ ImageView.Effect.prototype.getTiming = function() { return this.timing_; };
/**
* Obtains the CSS transformation string of the effect.
- * @param {DOMCanvas} element Canvas element to be applied the transforamtion.
+ * @param {DOMCanvas} element Canvas element to be applied the transformation.
* @param {Viewport} viewport Current viewport.
* @return CSS transformation description.
*/
@@ -769,7 +769,7 @@ ImageView.Effect.Slide.prototype.transform = function(element, viewport) {
* Animates the original rectangle to the target rectangle.
*
* @param {number} previousImageWidth Width of the full resolution image.
- * @param {number} previousImageHeight Hieght of the full resolution image.
+ * @param {number} previousImageHeight Height of the full resolution image.
* @param {Rect} imageCropRect Crop rectangle in the full resolution image.
* @param {number=} opt_duration Duration of the effect.
* @constructor
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_util.js ('k') | ui/file_manager/gallery/js/image_editor/viewport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698