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

Side by Side Diff: ui/file_manager/file_manager/foreground/js/file_manager.js

Issue 1222563005: Implement refreshing logic in Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_manager_commands.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * FileManager constructor. 6 * FileManager constructor.
7 * 7 *
8 * FileManager objects encapsulate the functionality of the file selector 8 * FileManager objects encapsulate the functionality of the file selector
9 * dialogs, as well as the full screen file manager application (though the 9 * dialogs, as well as the full screen file manager application (though the
10 * latter is not yet implemented). 10 * latter is not yet implemented).
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 get namingController() { 334 get namingController() {
335 return this.namingController_; 335 return this.namingController_;
336 }, 336 },
337 /** 337 /**
338 * @return {TaskController} 338 * @return {TaskController}
339 */ 339 */
340 get taskController() { 340 get taskController() {
341 return this.taskController_; 341 return this.taskController_;
342 }, 342 },
343 /** 343 /**
344 * @return {SpinnerController}
345 */
346 get spinnerController() {
347 return this.spinnerController_;
348 },
349 /**
344 * @return {FileOperationManager} 350 * @return {FileOperationManager}
345 */ 351 */
346 get fileOperationManager() { 352 get fileOperationManager() {
347 return this.fileOperationManager_; 353 return this.fileOperationManager_;
348 }, 354 },
349 /** 355 /**
350 * @return {BackgroundWindow} 356 * @return {BackgroundWindow}
351 */ 357 */
352 get backgroundPage() { 358 get backgroundPage() {
353 return this.backgroundPage_; 359 return this.backgroundPage_;
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 this.namingController_ = new NamingController( 975 this.namingController_ = new NamingController(
970 this.ui_.listContainer, 976 this.ui_.listContainer,
971 this.ui_.alertDialog, 977 this.ui_.alertDialog,
972 this.ui_.confirmDialog, 978 this.ui_.confirmDialog,
973 this.directoryModel_, 979 this.directoryModel_,
974 this.fileFilter_, 980 this.fileFilter_,
975 this.selectionHandler_); 981 this.selectionHandler_);
976 982
977 // Create spinner controller. 983 // Create spinner controller.
978 this.spinnerController_ = new SpinnerController( 984 this.spinnerController_ = new SpinnerController(
979 this.ui_.listContainer.spinner, this.directoryModel_); 985 this.ui_.listContainer.spinner);
980 this.spinnerController_.show(); 986 this.spinnerController_.show();
981 987
982 // Create dialog action controller. 988 // Create dialog action controller.
983 assert(this.launchParams_); 989 assert(this.launchParams_);
984 this.dialogActionController_ = new DialogActionController( 990 this.dialogActionController_ = new DialogActionController(
985 this.dialogType, 991 this.dialogType,
986 this.ui_.dialogFooter, 992 this.ui_.dialogFooter,
987 this.directoryModel_, 993 this.directoryModel_,
988 this.metadataModel_, 994 this.metadataModel_,
989 this.volumeManager_, 995 this.volumeManager_,
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 out += this.initializeQueue_.pendingTasks[key].toString() + '\n'; 1378 out += this.initializeQueue_.pendingTasks[key].toString() + '\n';
1373 }.bind(this)); 1379 }.bind(this));
1374 1380
1375 out += '2. VolumeManagerWrapper\n' + 1381 out += '2. VolumeManagerWrapper\n' +
1376 this.volumeManager_.toString() + '\n'; 1382 this.volumeManager_.toString() + '\n';
1377 1383
1378 out += 'End of debug information.'; 1384 out += 'End of debug information.';
1379 console.log(out); 1385 console.log(out);
1380 }; 1386 };
1381 })(); 1387 })();
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_manager_commands.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698