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

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

Issue 195763004: Reland of 260688: [Files.app] Use getDriveEntryProperties to retrieve metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adressed the comment Created 6 years, 9 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698