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