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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 // Task icon url (from chrome://extension-icon/...) | 156 // Task icon url (from chrome://extension-icon/...) |
157 DOMString iconUrl; | 157 DOMString iconUrl; |
158 | 158 |
159 // True if this task is a default task for the selected files. | 159 // True if this task is a default task for the selected files. |
160 boolean isDefault; | 160 boolean isDefault; |
161 }; | 161 }; |
162 | 162 |
163 // Drive file properties. | 163 // Drive file properties. |
164 dictionary DriveEntryProperties { | 164 dictionary DriveEntryProperties { |
| 165 // Size of this file. |
| 166 double? fileSize; |
| 167 |
| 168 // Timestamp of entry update time, in milliseconds past the epoch. |
| 169 double? lastModifiedTime; |
| 170 |
165 // URL to the Drive thumbnail image for this file. | 171 // URL to the Drive thumbnail image for this file. |
166 DOMString? thumbnailUrl; | 172 DOMString? thumbnailUrl; |
167 | 173 |
168 // Width, if the entry is an image. | 174 // Width, if the entry is an image. |
169 long? imageWidth; | 175 long? imageWidth; |
170 | 176 |
171 // Height, if the entry is an image. | 177 // Height, if the entry is an image. |
172 long? imageHeight; | 178 long? imageHeight; |
173 | 179 |
174 // Rotation in clockwise degrees, if the entry is an image. | 180 // Rotation in clockwise degrees, if the entry is an image. |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 static void onDriveSyncError(DriveSyncErrorEvent event); | 762 static void onDriveSyncError(DriveSyncErrorEvent event); |
757 | 763 |
758 // Dispatched when a profile is added. | 764 // Dispatched when a profile is added. |
759 static void onProfileAdded(); | 765 static void onProfileAdded(); |
760 | 766 |
761 // Dispatched when any window moves another desktop. | 767 // Dispatched when any window moves another desktop. |
762 // TODO(hirono): Add information which window is moved. | 768 // TODO(hirono): Add information which window is moved. |
763 static void onDesktopChanged(); | 769 static void onDesktopChanged(); |
764 }; | 770 }; |
765 }; | 771 }; |
OLD | NEW |