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

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

Issue 250803018: Revert 266437 "Reland of 260688: [Files.app] Use getDriveEntryPr..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698