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 // fileBrowserPrivate API. | 5 // fileBrowserPrivate 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_browser_pr
ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_pr
ivate_api_functions.h"] |
9 namespace fileBrowserPrivate { | 9 namespace fileBrowserPrivate { |
10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 195 |
196 // True if the file is pinned in Drive cache. | 196 // True if the file is pinned in Drive cache. |
197 boolean? isPinned; | 197 boolean? isPinned; |
198 | 198 |
199 // True if the file is present in Drive cache. | 199 // True if the file is present in Drive cache. |
200 boolean? isPresent; | 200 boolean? isPresent; |
201 | 201 |
202 // True if the file is hosted on a Drive server instead of local. | 202 // True if the file is hosted on a Drive server instead of local. |
203 boolean? isHosted; | 203 boolean? isHosted; |
204 | 204 |
| 205 // True if the file is available offline. |
| 206 boolean? isAvailableOffline; |
| 207 |
| 208 // True if the file is available on metered connection. |
| 209 boolean? isAvailableWhenMetered; |
| 210 |
205 // URL to the custom icon for this file. | 211 // URL to the custom icon for this file. |
206 DOMString? customIconUrl; | 212 DOMString? customIconUrl; |
207 | 213 |
208 // Drive MIME type for this file. | 214 // Drive MIME type for this file. |
209 DOMString? contentMimeType; | 215 DOMString? contentMimeType; |
210 | 216 |
211 // True if the entry is labeled as shared-with-me. | 217 // True if the entry is labeled as shared-with-me. |
212 boolean? sharedWithMe; | 218 boolean? sharedWithMe; |
213 | 219 |
214 // True if the entry is labeled as shared (either from me to others or to me | 220 // True if the entry is labeled as shared (either from me to others or to me |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 static void onDriveSyncError(DriveSyncErrorEvent event); | 822 static void onDriveSyncError(DriveSyncErrorEvent event); |
817 | 823 |
818 // Dispatched when a profile is added. | 824 // Dispatched when a profile is added. |
819 static void onProfileAdded(); | 825 static void onProfileAdded(); |
820 | 826 |
821 // Dispatched when any window moves another desktop. | 827 // Dispatched when any window moves another desktop. |
822 // TODO(hirono): Add information which window is moved. | 828 // TODO(hirono): Add information which window is moved. |
823 static void onDesktopChanged(); | 829 static void onDesktopChanged(); |
824 }; | 830 }; |
825 }; | 831 }; |
OLD | NEW |