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

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

Issue 529413002: Rename DriveProvider to ExternalProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 3 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 f8f7105a92e768515e91da97661ed62340a7bd6b..0916f7ea59641c2a3eec2b2f09256820c1924d53 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -20,9 +20,8 @@
* function.
* @constructor
*/
-function SlideMode(container, content, toolbar, prompt,
- dataModel, selectionModel, context,
- toggleMode, displayStringFunction) {
+function SlideMode(container, content, toolbar, prompt, dataModel,
+ selectionModel, context, volumeManager, toggleMode, displayStringFunction) {
this.container_ = container;
this.document_ = container.ownerDocument;
this.content = content;
@@ -31,6 +30,7 @@ function SlideMode(container, content, toolbar, prompt,
this.dataModel_ = dataModel;
this.selectionModel_ = selectionModel;
this.context_ = context;
+ this.volumeManager_ = volumeManager;
this.metadataCache_ = context.metadataCache;
this.toggleMode_ = toggleMode;
this.displayStringFunction_ = displayStringFunction;
@@ -966,6 +966,7 @@ SlideMode.prototype.saveCurrentImage_ = function(item, callback) {
this.showSpinner_(true);
var savedPromise = this.dataModel_.saveItem(
+ this.volumeManager_,
item,
this.imageView_.getCanvas(),
this.shouldOverwriteOriginal_());
« 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