| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 186 |
| 187 // Width, if the entry is an image. | 187 // Width, if the entry is an image. |
| 188 long? imageWidth; | 188 long? imageWidth; |
| 189 | 189 |
| 190 // Height, if the entry is an image. | 190 // Height, if the entry is an image. |
| 191 long? imageHeight; | 191 long? imageHeight; |
| 192 | 192 |
| 193 // Rotation in clockwise degrees, if the entry is an image. | 193 // Rotation in clockwise degrees, if the entry is an image. |
| 194 long? imageRotation; | 194 long? imageRotation; |
| 195 | 195 |
| 196 // True if the file is pinned in Drive cache. | 196 // True if the file is pinned in 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 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 server instead of local. |
| 203 boolean? isHosted; | 203 boolean? isHosted; |
| 204 | 204 |
| 205 // True if the file is available offline. | 205 // True if the file is available offline. |
| 206 boolean? isAvailableOffline; | 206 boolean? isAvailableOffline; |
| 207 | 207 |
| 208 // True if the file is available on metered connection. | 208 // True if the file is available on metered connection. |
| 209 boolean? isAvailableWhenMetered; | 209 boolean? isAvailableWhenMetered; |
| 210 | 210 |
| 211 // URL to the custom icon for this file. | 211 // URL to the custom icon for this file. |
| 212 DOMString? customIconUrl; | 212 DOMString? customIconUrl; |
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 813 | 813 |
| 814 static void onPreferencesChanged(); | 814 static void onPreferencesChanged(); |
| 815 | 815 |
| 816 static void onDriveConnectionStatusChanged(); | 816 static void onDriveConnectionStatusChanged(); |
| 817 | 817 |
| 818 static void onDeviceChanged(DeviceEvent event); | 818 static void onDeviceChanged(DeviceEvent event); |
| 819 | 819 |
| 820 static void onDriveSyncError(DriveSyncErrorEvent event); | 820 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 821 }; | 821 }; |
| 822 }; | 822 }; |
| OLD | NEW |