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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // Profile ID. This is currently e-mail address of the profile. | 230 // Profile ID. This is currently e-mail address of the profile. |
231 DOMString profileId; | 231 DOMString profileId; |
232 | 232 |
233 // The name of the profile for display purpose. | 233 // The name of the profile for display purpose. |
234 DOMString displayName; | 234 DOMString displayName; |
235 | 235 |
236 // True if the profile is the one running the current file manager instance. | 236 // True if the profile is the one running the current file manager instance. |
237 // TODO(hirono): Remove the property because of the design change of | 237 // TODO(hirono): Remove the property because of the design change of |
238 // multi-profile suuport. | 238 // multi-profile suuport. |
239 boolean isCurrentProfile; | 239 boolean isCurrentProfile; |
240 | |
241 // Image set of profile image. | |
242 ImageSet? profileImage; | |
243 }; | 240 }; |
244 | 241 |
245 // Mounted disk volume metadata. | 242 // Mounted disk volume metadata. |
246 dictionary VolumeMetadata { | 243 dictionary VolumeMetadata { |
247 // ID of the disk volume. | 244 // ID of the disk volume. |
248 DOMString volumeId; | 245 DOMString volumeId; |
249 | 246 |
250 // Id the provided file system (for proviided file systems). | 247 // Id the provided file system (for proviided file systems). |
251 DOMString? fileSystemId; | 248 DOMString? fileSystemId; |
252 | 249 |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 static void onDriveSyncError(DriveSyncErrorEvent event); | 813 static void onDriveSyncError(DriveSyncErrorEvent event); |
817 | 814 |
818 // Dispatched when a profile is added. | 815 // Dispatched when a profile is added. |
819 static void onProfileAdded(); | 816 static void onProfileAdded(); |
820 | 817 |
821 // Dispatched when any window moves another desktop. | 818 // Dispatched when any window moves another desktop. |
822 // TODO(hirono): Add information which window is moved. | 819 // TODO(hirono): Add information which window is moved. |
823 static void onDesktopChanged(); | 820 static void onDesktopChanged(); |
824 }; | 821 }; |
825 }; | 822 }; |
OLD | NEW |