Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: chrome/common/extensions/api/media_galleries.idl

Issue 1825913002: [Extensions] Convert APIs to use movable types [7] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Steven's Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
5 // Use the <code>chrome.mediaGalleries</code> API to access media files (audio, 6 // Use the <code>chrome.mediaGalleries</code> API to access media files (audio,
6 // images, video) from the user's local disks (with the user's consent). 7 // images, video) from the user's local disks (with the user's consent).
7 namespace mediaGalleries { 8 [use_movable_types=true] namespace mediaGalleries {
8 9
9 [inline_doc] enum GalleryChangeType { 10 [inline_doc] enum GalleryChangeType {
10 // The contents of the gallery have changed. 11 // The contents of the gallery have changed.
11 contents_changed, 12 contents_changed,
12 // The watch has been dropped because the device has been detached, 13 // The watch has been dropped because the device has been detached,
13 // the gallery permission has been removed, or any other reason. 14 // the gallery permission has been removed, or any other reason.
14 watch_dropped 15 watch_dropped
15 }; 16 };
16 17
17 [inline_doc] enum GetMediaFileSystemsInteractivity { 18 [inline_doc] enum GetMediaFileSystemsInteractivity {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 interface Events { 246 interface Events {
246 // Fired when a media gallery is changed or a gallery watch is dropped. 247 // Fired when a media gallery is changed or a gallery watch is dropped.
247 static void onGalleryChanged(GalleryChangeDetails details); 248 static void onGalleryChanged(GalleryChangeDetails details);
248 249
249 // The pending media scan has changed state. See details for more 250 // The pending media scan has changed state. See details for more
250 // information. 251 // information.
251 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."] 252 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."]
252 static void onScanProgress(ScanProgressDetails details); 253 static void onScanProgress(ScanProgressDetails details);
253 }; 254 };
254 }; 255 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/mdns.idl ('k') | chrome/common/extensions/api/media_player_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698