Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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.directoryEntry_, this.fakeDirEntry_, |
|
mtomasz
2013/04/09 14:22:52
this.directoryEntry_ -> this.driveDirEntry_ ?
Haruki Sato
2013/04/10 01:36:32
Done. Thanks!
| |
| 756 this.query_); | 756 this.query_, 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 Loading... | |
| 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 }; |
| OLD | NEW |