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

Unified Diff: chrome/browser/resources/file_manager/js/image_editor/image_view.js

Issue 12212187: [Cleanup] Files.app: Misc style fixes in Javascript code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/resources/file_manager/js/image_editor/image_view.js
diff --git a/chrome/browser/resources/file_manager/js/image_editor/image_view.js b/chrome/browser/resources/file_manager/js/image_editor/image_view.js
index 5c911b65061ddea23ed9eb54d94fe4d6572d1793..73f5aa3d8de5597f182ab88758471cb274380c87 100644
--- a/chrome/browser/resources/file_manager/js/image_editor/image_view.js
+++ b/chrome/browser/resources/file_manager/js/image_editor/image_view.js
@@ -4,10 +4,11 @@
/**
* The overlay displaying the image.
- * @constructor
+ *
* @param {HTMLElement} container The container element.
* @param {Viewport} viewport The viewport.
* @param {MetadataCache} metadataCache The metadataCache.
+ * @constructor
*/
function ImageView(container, viewport, metadataCache) {
this.container_ = container;
@@ -36,7 +37,9 @@ function ImageView(container, viewport, metadataCache) {
/**
* The element displaying the current content.
+ *
* @type {HTMLCanvasElement|HTMLVideoElement}
+ * @private
*/
this.screenImage_ = null;
@@ -770,8 +773,8 @@ ImageView.prototype.animateAndReplace = function(canvas, imageCropRect) {
/**
* Generic cache with a limited capacity and LRU eviction.
*
- * @constructor
* @param {number} capacity Maximum number of cached item.
+ * @constructor
*/
ImageView.Cache = function(capacity) {
this.capacity_ = capacity;
@@ -850,6 +853,7 @@ ImageView.Cache.prototype.renameItem = function(oldId, newId) {
/**
* Disposes an object.
+ *
* @param {object} item The item object.
* @private
*/
@@ -867,6 +871,7 @@ ImageView.Cache.prototype.deleteItem_ = function(item) {
/**
* Base class for effects.
+ *
* @param {number} duration Duration in ms.
* @param {string} opt_timing CSS transition timing function name.
* @constructor

Powered by Google App Engine
This is Rietveld 408576698