OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // fileManagerPrivate API. | 5 // fileManagerPrivate API. |
6 // This is a private API used by the file browser of ChromeOS. | 6 // This is a private API used by the file browser of ChromeOS. |
7 [platforms=("chromeos"), | 7 [platforms=("chromeos"), |
8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] |
9 namespace fileManagerPrivate { | 9 namespace fileManagerPrivate { |
10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 pinned, | 160 pinned, |
161 present, | 161 present, |
162 hosted, | 162 hosted, |
163 availableOffline, | 163 availableOffline, |
164 availableWhenMetered, | 164 availableWhenMetered, |
165 dirty, | 165 dirty, |
166 customIconUrl, | 166 customIconUrl, |
167 contentMimeType, | 167 contentMimeType, |
168 sharedWithMe, | 168 sharedWithMe, |
169 shared, | 169 shared, |
| 170 starred, |
170 externalFileUrl | 171 externalFileUrl |
171 }; | 172 }; |
172 | 173 |
173 // Entry property visibility for setEntryTag(); | 174 // Entry property visibility for setEntryTag(); |
174 enum EntryTagVisibility { | 175 enum EntryTagVisibility { |
175 private, | 176 private, |
176 public | 177 public |
177 }; | 178 }; |
178 | 179 |
179 // Source of the volume data. | 180 // Source of the volume data. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 // Drive MIME type for this file. | 269 // Drive MIME type for this file. |
269 DOMString? contentMimeType; | 270 DOMString? contentMimeType; |
270 | 271 |
271 // True if the entry is labeled as shared-with-me. | 272 // True if the entry is labeled as shared-with-me. |
272 boolean? sharedWithMe; | 273 boolean? sharedWithMe; |
273 | 274 |
274 // True if the entry is labeled as shared (either from me to others or to me | 275 // True if the entry is labeled as shared (either from me to others or to me |
275 // by others.) | 276 // by others.) |
276 boolean? shared; | 277 boolean? shared; |
277 | 278 |
| 279 // True if the entry is starred by the user. |
| 280 boolean? starred; |
| 281 |
278 // External file URL to open the file in browser. | 282 // External file URL to open the file in browser. |
279 DOMString? externalFileUrl; | 283 DOMString? externalFileUrl; |
280 }; | 284 }; |
281 | 285 |
282 // Information about total and remaining size on the mount point. | 286 // Information about total and remaining size on the mount point. |
283 dictionary MountPointSizeStats { | 287 dictionary MountPointSizeStats { |
284 // Approximate total available size on the mount point. | 288 // Approximate total available size on the mount point. |
285 double totalSize; | 289 double totalSize; |
286 | 290 |
287 // Approximate remaining available size on the mount point. | 291 // Approximate remaining available size on the mount point. |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 | 996 |
993 static void onPreferencesChanged(); | 997 static void onPreferencesChanged(); |
994 | 998 |
995 static void onDriveConnectionStatusChanged(); | 999 static void onDriveConnectionStatusChanged(); |
996 | 1000 |
997 static void onDeviceChanged(DeviceEvent event); | 1001 static void onDeviceChanged(DeviceEvent event); |
998 | 1002 |
999 static void onDriveSyncError(DriveSyncErrorEvent event); | 1003 static void onDriveSyncError(DriveSyncErrorEvent event); |
1000 }; | 1004 }; |
1001 }; | 1005 }; |
OLD | NEW |