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

Unified Diff: chrome/browser/resources/file_manager/js/file_transfer_controller.js

Issue 10206015: 1. Fix JSDocs in directory_model.js. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/file_transfer_controller.js
===================================================================
--- chrome/browser/resources/file_manager/js/file_transfer_controller.js (revision 133654)
+++ chrome/browser/resources/file_manager/js/file_transfer_controller.js (working copy)
@@ -4,6 +4,9 @@
var MAX_DRAG_THUMBAIL_COUNT = 4;
+/**
+ * TODO(olege): Fix style warnings.
+ */
function FileTransferController(fileList,
fileListSelection,
dragNodeConstructor,
@@ -374,15 +377,15 @@
},
get currentDirectory() {
- return this.directoryModel_.currentEntry;
+ return this.directoryModel_.getCurrentDirEntry();
},
get readonly() {
- return this.directoryModel_.readonly;
+ return this.directoryModel_.isReadOnly();
},
get isOnGData() {
- return this.directoryModel_.rootType == DirectoryModel.RootType.GDATA;
+ return this.directoryModel_.getRootType() == DirectoryModel.RootType.GDATA;
},
notify_: function(eventName) {

Powered by Google App Engine
This is Rietveld 408576698