| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 * Location information which shows where the path points in FileManager's | 6 * Location information which shows where the path points in FileManager's |
| 7 * file system. | 7 * file system. |
| 8 * @interface | 8 * @interface |
| 9 */ | 9 */ |
| 10 function EntryLocation() {}; | 10 function EntryLocation() {}; |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * Volume information. | 13 * Volume information. |
| 14 * @type {!VolumeInfo} | 14 * @type {!VolumeInfo} |
| 15 */ | 15 */ |
| 16 EntryLocation.prototype.volumeInfo; | 16 EntryLocation.prototype.volumeInfo; |
| 17 | 17 |
| 18 /** | 18 /** |
| 19 * Root type. | 19 * Root type. |
| 20 * @type {VolumeManagerCommon.RootType} | 20 * @type {VolumeManagerCommon.RootType} |
| 21 */ | 21 */ |
| 22 EntryLocation.prototype.rootType; | 22 EntryLocation.prototype.rootType; |
| 23 | 23 |
| 24 /** | 24 /** |
| 25 * Entry type. |
| 26 * @type{VolumeManagerCommon.EntryType} |
| 27 */ |
| 28 EntryLocation.prototype.entryType; |
| 29 |
| 30 /** |
| 25 * Whether the entry is root entry or not. | 31 * Whether the entry is root entry or not. |
| 26 * @type {boolean} | 32 * @type {boolean} |
| 27 */ | 33 */ |
| 28 EntryLocation.prototype.isRootEntry; | 34 EntryLocation.prototype.isRootEntry; |
| 29 | 35 |
| 30 /** | 36 /** |
| 31 * Whether the location obtained from the fake entry corresponds to special | 37 * Whether the location obtained from the fake entry corresponds to special |
| 32 * searches. | 38 * searches. |
| 33 * @type {boolean} | 39 * @type {boolean} |
| 34 */ | 40 */ |
| 35 EntryLocation.prototype.isSpecialSearchRoot; | 41 EntryLocation.prototype.isSpecialSearchRoot; |
| 36 | 42 |
| 37 /** | 43 /** |
| 38 * Whether the location is under Google Drive or a special search root which | 44 * Whether the location is under Google Drive or a special search root which |
| 39 * represents a special search from Google Drive. | 45 * represents a special search from Google Drive. |
| 40 * @type {boolean} | 46 * @type {boolean} |
| 41 */ | 47 */ |
| 42 EntryLocation.prototype.isDriveBased; | 48 EntryLocation.prototype.isDriveBased; |
| 43 | 49 |
| 44 /** | 50 /** |
| 45 * Whether the entry is read only or not. | 51 * Whether the entry is read only or not. |
| 46 * @type {boolean} | 52 * @type {boolean} |
| 47 */ | 53 */ |
| 48 EntryLocation.prototype.isReadOnly; | 54 EntryLocation.prototype.isReadOnly; |
| 55 |
| 56 /** |
| 57 * Whether the entry should be displayed with a fixed name instead of individual |
| 58 * entry's name. (e.g. "Downloads" is a fixed name) |
| 59 * @type {boolean} |
| 60 */ |
| 61 EntryLocation.prototype.hasFixedLabel; |
| OLD | NEW |