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

Side by Side Diff: chrome/browser/resources/file_manager/js/directory_contents.js

Issue 13945007: filemanager: fix a missing param for the introduced DirectoryContentsDriveSearchMetadata. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another mistake. Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * This class manages filters and determines a file should be shown or not. 8 * This class manages filters and determines a file should be shown or not.
9 * When filters are changed, a 'changed' event is fired. 9 * When filters are changed, a 'changed' event is fired.
10 * 10 *
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 this.query_ = query; 745 this.query_ = query;
746 this.searchType_ = searchType; 746 this.searchType_ = searchType;
747 } 747 }
748 748
749 /** 749 /**
750 * Creates a copy of the object, but without scan started. 750 * Creates a copy of the object, but without scan started.
751 * @return {DirectoryContents} Object copy. 751 * @return {DirectoryContents} Object copy.
752 */ 752 */
753 DirectoryContentsDriveSearchMetadata.prototype.clone = function() { 753 DirectoryContentsDriveSearchMetadata.prototype.clone = function() {
754 return new DirectoryContentsDriveSearchMetadata( 754 return new DirectoryContentsDriveSearchMetadata(
755 this.context_, this.directoryEntry_, this.fakeDirEntry_, 755 this.context_, this.driveDirEntry_, this.fakeDirEntry_, this.query_,
756 this.query_); 756 this.searchType_);
757 }; 757 };
758 758
759 /** 759 /**
760 * Extends DirectoryContents. 760 * Extends DirectoryContents.
761 */ 761 */
762 DirectoryContentsDriveSearchMetadata.prototype.__proto__ = 762 DirectoryContentsDriveSearchMetadata.prototype.__proto__ =
763 DirectoryContents.prototype; 763 DirectoryContents.prototype;
764 764
765 /** 765 /**
766 * @return {boolean} True if this is search results (yes). 766 * @return {boolean} True if this is search results (yes).
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 }.bind(this); 986 }.bind(this);
987 987
988 getNextChunk(); 988 getNextChunk();
989 }; 989 };
990 990
991 /** 991 /**
992 * Everything is done in scanDirectory_(). 992 * Everything is done in scanDirectory_().
993 */ 993 */
994 DirectoryContentsDriveOffline.prototype.readNextChunk = function() { 994 DirectoryContentsDriveOffline.prototype.readNextChunk = function() {
995 }; 995 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698