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 // 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 DOMString? imageUri; | 205 DOMString? imageUri; |
206 }; | 206 }; |
207 | 207 |
208 // Mounted disk volume metadata. | 208 // Mounted disk volume metadata. |
209 dictionary VolumeMetadata { | 209 dictionary VolumeMetadata { |
210 // ID of the disk volume. | 210 // ID of the disk volume. |
211 DOMString volumeId; | 211 DOMString volumeId; |
212 | 212 |
213 // Description of the profile where the volume belongs. | 213 // Description of the profile where the volume belongs. |
214 // TODO(hirono): Remove the property because of the design change of | 214 // TODO(hirono): Remove the property because of the design change of |
215 // multi-profile suuport. | 215 // multi-profile support. |
216 ProfileInfo profile; | 216 ProfileInfo profile; |
217 | 217 |
218 // Disk volume mount point path. | |
219 DOMString mountPath; | |
220 | |
221 // The path to the mounted device, archive file or network resource. | 218 // The path to the mounted device, archive file or network resource. |
222 DOMString? sourcePath; | 219 DOMString? sourcePath; |
223 | 220 |
224 // Type of the mounted volume. | 221 // Type of the mounted volume. |
225 VolumeType volumeType; | 222 VolumeType volumeType; |
226 | 223 |
227 // Device type. Available if this is removable volume. | 224 // Device type. Available if this is removable volume. |
228 DeviceType? deviceType; | 225 DeviceType? deviceType; |
229 | 226 |
230 // Path to identify the device. This is consistent with DeviceEvent's | 227 // Path to identify the device. This is consistent with DeviceEvent's |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 static void onDriveSyncError(DriveSyncErrorEvent event); | 730 static void onDriveSyncError(DriveSyncErrorEvent event); |
734 | 731 |
735 // Dispatched when a profile is added. | 732 // Dispatched when a profile is added. |
736 static void onProfileAdded(); | 733 static void onProfileAdded(); |
737 | 734 |
738 // Dispatched when any window moves another desktop. | 735 // Dispatched when any window moves another desktop. |
739 // TODO(hirono): Add information which window is moved. | 736 // TODO(hirono): Add information which window is moved. |
740 static void onDesktopChanged(); | 737 static void onDesktopChanged(); |
741 }; | 738 }; |
742 }; | 739 }; |
OLD | NEW |