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

Unified Diff: ui/file_manager/gallery/js/slide_mode.js

Issue 624563002: Files.app: Rename Rect used in Gallery with ImageRect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « ui/file_manager/gallery/js/mosaic_mode.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/slide_mode.js
diff --git a/ui/file_manager/gallery/js/slide_mode.js b/ui/file_manager/gallery/js/slide_mode.js
index 2ca79a443f8f33a850f0736f74fdce1fd34cd87f..627d5b695a593ac84079e6eb9a594216d21b96e1 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -243,7 +243,7 @@ SlideMode.prototype.initDom_ = function() {
/**
* Load items, display the selected item.
- * @param {Rect} zoomFromRect Rectangle for zoom effect.
+ * @param {ImageRect} zoomFromRect Rectangle for zoom effect.
* @param {function} displayCallback Called when the image is displayed.
* @param {function} loadCallback Called when the image is displayed.
*/
@@ -329,7 +329,7 @@ SlideMode.prototype.enter = function(
/**
* Leave the mode.
- * @param {Rect} zoomToRect Rectangle for zoom effect.
+ * @param {ImageRect} zoomToRect Rectangle for zoom effect.
* @param {function} callback Called when the image is committed and
* the zoom-out animation has started.
*/
@@ -406,7 +406,7 @@ SlideMode.prototype.getSelectedIndex = function() {
};
/**
- * @return {Rect} Screen rectangle of the selected image.
+ * @return {ImageRect} Screen rectangle of the selected image.
*/
SlideMode.prototype.getSelectedImageRect = function() {
if (this.getSelectedIndex() < 0)
@@ -550,7 +550,7 @@ SlideMode.prototype.loadSelectedItem_ = function() {
/**
* Unload the current image.
*
- * @param {Rect} zoomToRect Rectangle for zoom effect.
+ * @param {ImageRect} zoomToRect Rectangle for zoom effect.
* @private
*/
SlideMode.prototype.unloadImage_ = function(zoomToRect) {
« no previous file with comments | « ui/file_manager/gallery/js/mosaic_mode.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698