Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / file_manager / file_manager / foreground / js / thumbnail_loader.js
index 28a15bd..51d1115 100644 (file)
@@ -2,14 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-'use strict';
-
 /**
  * Loads a thumbnail using provided url. In CANVAS mode, loaded images
  * are attached as <canvas> element, while in IMAGE mode as <img>.
  * <canvas> renders faster than <img>, however has bigger memory overhead.
  *
- * @param {FileEntry} entry File entry.
+ * @param {Entry} entry File entry.
  * @param {ThumbnailLoader.LoaderType=} opt_loaderType Canvas or Image loader,
  *     default: IMAGE.
  * @param {Object=} opt_metadata Metadata object.
@@ -136,7 +134,7 @@ ThumbnailLoader.THUMBNAIL_MAX_HEIGHT = 500;
 /**
  * Loads and attaches an image.
  *
- * @param {HTMLElement} box Container element.
+ * @param {Element} box Container element.
  * @param {ThumbnailLoader.FillMode} fillMode Fill mode.
  * @param {ThumbnailLoader.OptimizationMode=} opt_optimizationMode Optimization
  *     for downloading thumbnails. By default optimizations are disabled.
@@ -349,7 +347,7 @@ ThumbnailLoader.prototype.getImage = function() {
  * to wait until the image loads and its dimensions are known, then manually
  * position it at the center.
  *
- * @param {HTMLElement} box Containing element.
+ * @param {Element} box Containing element.
  * @param {Image|HTMLCanvasElement} img Element containing an image.
  * @param {ThumbnailLoader.FillMode} fillMode Fill mode.
  * @param {boolean} rotate True if the image should be rotated 90 degrees.