| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Internal, used by fileManagerPrivate's custom bindings. | 5 // Internal, used by fileManagerPrivate's custom bindings. |
| 6 [platforms=("chromeos"), | 6 [platforms=("chromeos"), |
| 7 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] | 7 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] |
| 8 namespace fileManagerPrivateInternal { | 8 namespace fileManagerPrivateInternal { |
| 9 // Entry information that renderers need to create an Entry instance. | 9 // Entry information that renderers need to create an Entry instance. |
| 10 dictionary EntryDescription { | 10 dictionary EntryDescription { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 callback GetCustomActionsCallback = void(fileSystemProvider.Action[] actions); | 23 callback GetCustomActionsCallback = void(fileSystemProvider.Action[] actions); |
| 24 callback ComputeChecksumCallback = void(DOMString checksum); | 24 callback ComputeChecksumCallback = void(DOMString checksum); |
| 25 callback GetMimeTypeCallback = void(DOMString result); | 25 callback GetMimeTypeCallback = void(DOMString result); |
| 26 callback ExecuteTaskCallback = void(fileManagerPrivate.TaskResult result); | 26 callback ExecuteTaskCallback = void(fileManagerPrivate.TaskResult result); |
| 27 callback GetFileTasksCallback = void(fileManagerPrivate.FileTask[] tasks); | 27 callback GetFileTasksCallback = void(fileManagerPrivate.FileTask[] tasks); |
| 28 callback GetUrlCallback = void(DOMString url); | 28 callback GetUrlCallback = void(DOMString url); |
| 29 callback GetUrlCallback = void(DOMString url); | 29 callback GetUrlCallback = void(DOMString url); |
| 30 callback StartCopyCallback = void(long copyId); | 30 callback StartCopyCallback = void(long copyId); |
| 31 callback ZipSelectionCallback = void(optional boolean success); | 31 callback ZipSelectionCallback = void(optional boolean success); |
| 32 callback ValidatePathNameLengthCallback = void(boolean result); | 32 callback ValidatePathNameLengthCallback = void(boolean result); |
| 33 callback GetDirectorySizeCallback = void(double size); |
| 33 | 34 |
| 34 interface Functions { | 35 interface Functions { |
| 35 static void resolveIsolatedEntries(DOMString[] urls, | 36 static void resolveIsolatedEntries(DOMString[] urls, |
| 36 ResolveIsolatedEntriesCallback callback); | 37 ResolveIsolatedEntriesCallback callback); |
| 37 static void getEntryProperties( | 38 static void getEntryProperties( |
| 38 DOMString[] urls, | 39 DOMString[] urls, |
| 39 fileManagerPrivate.EntryPropertyName[] names, | 40 fileManagerPrivate.EntryPropertyName[] names, |
| 40 GetEntryPropertiesCallback callback); | 41 GetEntryPropertiesCallback callback); |
| 41 static void addFileWatch( | 42 static void addFileWatch( |
| 42 DOMString url, | 43 DOMString url, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 DOMString newName, | 83 DOMString newName, |
| 83 StartCopyCallback callback); | 84 StartCopyCallback callback); |
| 84 static void zipSelection(DOMString parentUrl, | 85 static void zipSelection(DOMString parentUrl, |
| 85 DOMString[] urls, | 86 DOMString[] urls, |
| 86 DOMString destName, | 87 DOMString destName, |
| 87 ZipSelectionCallback callback); | 88 ZipSelectionCallback callback); |
| 88 static void validatePathNameLength( | 89 static void validatePathNameLength( |
| 89 DOMString parentUrl, | 90 DOMString parentUrl, |
| 90 DOMString name, | 91 DOMString name, |
| 91 ValidatePathNameLengthCallback callback); | 92 ValidatePathNameLengthCallback callback); |
| 93 static void getDirectorySize(DOMString url, |
| 94 GetDirectorySizeCallback callback); |
| 92 }; | 95 }; |
| 93 }; | 96 }; |
| OLD | NEW |