OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This is a private API for M23. This will be superceded by the | 5 // This is a private API for M23. This will be superceded by the |
6 // systeminfo.storage API in M24. | 6 // systeminfo.storage API in M24. |
7 | |
8 namespace mediaGalleriesPrivate { | 7 namespace mediaGalleriesPrivate { |
9 // A dictionary that describes an attached device. | 8 // A dictionary that describes an attached device. |
10 [inline_doc] dictionary DeviceAttachmentDetails { | 9 [inline_doc] dictionary DeviceAttachmentDetails { |
11 // The name of the device. | 10 // The name of the device. |
12 DOMString deviceName; | 11 DOMString deviceName; |
13 | 12 |
14 // A transient id that unique identifies the device. | 13 // A transient id that unique identifies the device. |
15 DOMString deviceId; | 14 DOMString deviceId; |
16 }; | 15 }; |
17 | 16 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 interface Functions { | 82 interface Functions { |
84 static void addGalleryWatch(DOMString galleryId, | 83 static void addGalleryWatch(DOMString galleryId, |
85 AddGalleryWatchCallback callback); | 84 AddGalleryWatchCallback callback); |
86 static void removeGalleryWatch(DOMString galleryId); | 85 static void removeGalleryWatch(DOMString galleryId); |
87 static void getAllGalleryWatch(GetAllGalleryWatchCallback callback); | 86 static void getAllGalleryWatch(GetAllGalleryWatchCallback callback); |
88 static void removeAllGalleryWatch(); | 87 static void removeAllGalleryWatch(); |
89 static void ejectDevice(DOMString deviceId, EjectDeviceCallback callback); | 88 static void ejectDevice(DOMString deviceId, EjectDeviceCallback callback); |
90 static void getHandlers(GetHandlersCallback callback); | 89 static void getHandlers(GetHandlersCallback callback); |
91 }; | 90 }; |
92 }; | 91 }; |
OLD | NEW |