| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 // Task icon url (from chrome://extension-icon/...) | 138 // Task icon url (from chrome://extension-icon/...) |
| 139 DOMString iconUrl; | 139 DOMString iconUrl; |
| 140 | 140 |
| 141 // True if this task is a default task for the selected files. | 141 // True if this task is a default task for the selected files. |
| 142 boolean isDefault; | 142 boolean isDefault; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 // Drive file properties. | 145 // Drive file properties. |
| 146 dictionary DriveEntryProperties { | 146 dictionary DriveEntryProperties { |
| 147 // Size of this file. |
| 148 double? fileSize; |
| 149 |
| 150 // Timestamp of entry update time, in milliseconds past the epoch. |
| 151 double? lastModifiedTime; |
| 152 |
| 147 // URL to the Drive thumbnail image for this file. | 153 // URL to the Drive thumbnail image for this file. |
| 148 DOMString? thumbnailUrl; | 154 DOMString? thumbnailUrl; |
| 149 | 155 |
| 150 // Width, if the entry is an image. | 156 // Width, if the entry is an image. |
| 151 long? imageWidth; | 157 long? imageWidth; |
| 152 | 158 |
| 153 // Height, if the entry is an image. | 159 // Height, if the entry is an image. |
| 154 long? imageHeight; | 160 long? imageHeight; |
| 155 | 161 |
| 156 // Rotation in clockwise degrees, if the entry is an image. | 162 // Rotation in clockwise degrees, if the entry is an image. |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 static void onDriveSyncError(DriveSyncErrorEvent event); | 736 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 731 | 737 |
| 732 // Dispatched when a profile is added. | 738 // Dispatched when a profile is added. |
| 733 static void onProfileAdded(); | 739 static void onProfileAdded(); |
| 734 | 740 |
| 735 // Dispatched when any window moves another desktop. | 741 // Dispatched when any window moves another desktop. |
| 736 // TODO(hirono): Add information which window is moved. | 742 // TODO(hirono): Add information which window is moved. |
| 737 static void onDesktopChanged(); | 743 static void onDesktopChanged(); |
| 738 }; | 744 }; |
| 739 }; | 745 }; |
| OLD | NEW |