| 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 | |
| 171 // URL to the Drive thumbnail image for this file. | 165 // URL to the Drive thumbnail image for this file. |
| 172 DOMString? thumbnailUrl; | 166 DOMString? thumbnailUrl; |
| 173 | 167 |
| 174 // Width, if the entry is an image. | 168 // Width, if the entry is an image. |
| 175 long? imageWidth; | 169 long? imageWidth; |
| 176 | 170 |
| 177 // Height, if the entry is an image. | 171 // Height, if the entry is an image. |
| 178 long? imageHeight; | 172 long? imageHeight; |
| 179 | 173 |
| 180 // Rotation in clockwise degrees, if the entry is an image. | 174 // Rotation in clockwise degrees, if the entry is an image. |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 static void onDriveSyncError(DriveSyncErrorEvent event); | 756 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 763 | 757 |
| 764 // Dispatched when a profile is added. | 758 // Dispatched when a profile is added. |
| 765 static void onProfileAdded(); | 759 static void onProfileAdded(); |
| 766 | 760 |
| 767 // Dispatched when any window moves another desktop. | 761 // Dispatched when any window moves another desktop. |
| 768 // TODO(hirono): Add information which window is moved. | 762 // TODO(hirono): Add information which window is moved. |
| 769 static void onDesktopChanged(); | 763 static void onDesktopChanged(); |
| 770 }; | 764 }; |
| 771 }; | 765 }; |
| OLD | NEW |