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

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

Issue 2702403008: Compile more Gallery targets in gyp v2. (Closed)
Patch Set: Added _ suffix to private constant and formatted. Created 3 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
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/test_util.js ('k') | ui/file_manager/gallery/js/thumbnail_mode.js » ('j') | 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 75df0b37056b25d23856c2824fdcb91e07829268..ef11a6a95f75b0d8cb70ea610c377c72352180b7 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -187,9 +187,9 @@ function SlideMode(container, content, topToolbar, bottomToolbar, prompt,
this.active_ = false;
/**
- * @private {Gallery.SubMode}
+ * @private {GallerySubMode}
*/
- this.subMode_ = Gallery.SubMode.BROWSE;
+ this.subMode_ = GallerySubMode.BROWSE;
/**
* @type {boolean}
@@ -1466,7 +1466,7 @@ SlideMode.prototype.startSlideshow = function(opt_interval, opt_event) {
this.resumeSlideshow_(opt_interval);
- this.setSubMode_(Gallery.SubMode.SLIDESHOW);
+ this.setSubMode_(GallerySubMode.SLIDESHOW);
};
/**
@@ -1499,7 +1499,7 @@ SlideMode.prototype.stopSlideshow_ = function(opt_event) {
// Re-enable touch operation.
this.touchHandlers_.enabled = true;
- this.setSubMode_(Gallery.SubMode.BROWSE);
+ this.setSubMode_(GallerySubMode.BROWSE);
};
/**
@@ -1579,7 +1579,7 @@ SlideMode.prototype.stopEditing_ = function() {
/**
* Sets current sub mode.
- * @param {Gallery.SubMode} subMode
+ * @param {GallerySubMode} subMode
* @private
*/
SlideMode.prototype.setSubMode_ = function(subMode) {
@@ -1595,7 +1595,7 @@ SlideMode.prototype.setSubMode_ = function(subMode) {
/**
* Returns current sub mode.
- * @return {Gallery.SubMode}
+ * @return {GallerySubMode}
*/
SlideMode.prototype.getSubMode = function() {
return this.subMode_;
@@ -1652,7 +1652,7 @@ SlideMode.prototype.toggleEditor = function(opt_event) {
this.bubble_.hidden = false;
}.bind(this));
- this.setSubMode_(Gallery.SubMode.EDIT);
+ this.setSubMode_(GallerySubMode.EDIT);
this.editor_.onStartEditing();
} else {
this.editor_.getPrompt().hide();
@@ -1666,7 +1666,7 @@ SlideMode.prototype.toggleEditor = function(opt_event) {
this.touchHandlers_.enabled = true;
- this.setSubMode_(Gallery.SubMode.BROWSE);
+ this.setSubMode_(GallerySubMode.BROWSE);
}
};
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/test_util.js ('k') | ui/file_manager/gallery/js/thumbnail_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698