Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: chrome/common/extensions/api/file_browser_private.idl

Issue 256023002: Reland of r266437: [Files.app] Use getDriveEntryProperties() to retrieve metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698