| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // currently selected files. See | 188 // currently selected files. See |
| 189 // chrome/browser/chromeos/extensions/file_manager/file_tasks.h for details | 189 // chrome/browser/chromeos/extensions/file_manager/file_tasks.h for details |
| 190 // about how file tasks are handled. | 190 // about how file tasks are handled. |
| 191 dictionary FileTask { | 191 dictionary FileTask { |
| 192 // The unique identifier of the task. | 192 // The unique identifier of the task. |
| 193 DOMString taskId; | 193 DOMString taskId; |
| 194 | 194 |
| 195 // Task title (ex. App name). | 195 // Task title (ex. App name). |
| 196 DOMString title; | 196 DOMString title; |
| 197 | 197 |
| 198 // Task verb (ex. Open With). Can be empty string in case of no verb |
| 199 // (i.e. for FileBrowserHandler). |
| 200 DOMString verb; |
| 201 |
| 198 // Task icon url (from chrome://extension-icon/...) | 202 // Task icon url (from chrome://extension-icon/...) |
| 199 DOMString iconUrl; | 203 DOMString iconUrl; |
| 200 | 204 |
| 201 // True if this task is a default task for the selected files. | 205 // True if this task is a default task for the selected files. |
| 202 boolean isDefault; | 206 boolean isDefault; |
| 203 | 207 |
| 204 // True if this task is from generic file handler. Generic file handler is a | 208 // True if this task is from generic file handler. Generic file handler is a |
| 205 // file handler which handles any type of files (e.g. extensions: ["*"], | 209 // file handler which handles any type of files (e.g. extensions: ["*"], |
| 206 // types: ["*/*"]). Partial wild card (e.g. types: ["image/*"]) is not | 210 // types: ["*/*"]). Partial wild card (e.g. types: ["image/*"]) is not |
| 207 // generic file handler. | 211 // generic file handler. |
| (...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 969 | 973 |
| 970 static void onPreferencesChanged(); | 974 static void onPreferencesChanged(); |
| 971 | 975 |
| 972 static void onDriveConnectionStatusChanged(); | 976 static void onDriveConnectionStatusChanged(); |
| 973 | 977 |
| 974 static void onDeviceChanged(DeviceEvent event); | 978 static void onDeviceChanged(DeviceEvent event); |
| 975 | 979 |
| 976 static void onDriveSyncError(DriveSyncErrorEvent event); | 980 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 977 }; | 981 }; |
| 978 }; | 982 }; |
| OLD | NEW |