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 // fileManagerPrivate API. | 5 // fileManagerPrivate 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_manager_pr
ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] |
9 namespace fileManagerPrivate { | 9 namespace fileManagerPrivate { |
10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 DOMString taskId; | 160 DOMString taskId; |
161 | 161 |
162 // Task title (ex. App name). | 162 // Task title (ex. App name). |
163 DOMString title; | 163 DOMString title; |
164 | 164 |
165 // Task icon url (from chrome://extension-icon/...) | 165 // Task icon url (from chrome://extension-icon/...) |
166 DOMString iconUrl; | 166 DOMString iconUrl; |
167 | 167 |
168 // True if this task is a default task for the selected files. | 168 // True if this task is a default task for the selected files. |
169 boolean isDefault; | 169 boolean isDefault; |
| 170 |
| 171 // True if this task is from generic file handler. Generic file handler is a |
| 172 // file handler which handles any type of files (e.g. extensions: ["*"], |
| 173 // types: ["*/*"]). Partial wild card (e.g. types: ["image/*"]) is not |
| 174 // generic file handler. |
| 175 boolean isGenericFileHandler; |
170 }; | 176 }; |
171 | 177 |
172 // Additional entry properties. | 178 // Additional entry properties. |
173 dictionary EntryProperties { | 179 dictionary EntryProperties { |
174 // Size of this file. | 180 // Size of this file. |
175 double? fileSize; | 181 double? fileSize; |
176 | 182 |
177 // Timestamp of entry update time, in milliseconds past the epoch. | 183 // Timestamp of entry update time, in milliseconds past the epoch. |
178 double? lastModifiedTime; | 184 double? lastModifiedTime; |
179 | 185 |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 | 813 |
808 static void onPreferencesChanged(); | 814 static void onPreferencesChanged(); |
809 | 815 |
810 static void onDriveConnectionStatusChanged(); | 816 static void onDriveConnectionStatusChanged(); |
811 | 817 |
812 static void onDeviceChanged(DeviceEvent event); | 818 static void onDeviceChanged(DeviceEvent event); |
813 | 819 |
814 static void onDriveSyncError(DriveSyncErrorEvent event); | 820 static void onDriveSyncError(DriveSyncErrorEvent event); |
815 }; | 821 }; |
816 }; | 822 }; |
OLD | NEW |