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

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: Created 4 years, 9 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 // Use the <code>chrome.mediaGalleries</code> API to access media files (audio, 5 // 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). 6 // images, video) from the user's local disks (with the user's consent).
7 namespace mediaGalleries { 7 [use_movable_types=true] namespace mediaGalleries {
8 8
9 [inline_doc] enum GalleryChangeType { 9 [inline_doc] enum GalleryChangeType {
10 // The contents of the gallery have changed. 10 // The contents of the gallery have changed.
11 contents_changed, 11 contents_changed,
12 // The watch has been dropped because the device has been detached, 12 // The watch has been dropped because the device has been detached,
13 // the gallery permission has been removed, or any other reason. 13 // the gallery permission has been removed, or any other reason.
14 watch_dropped 14 watch_dropped
15 }; 15 };
16 16
17 [inline_doc] enum GetMediaFileSystemsInteractivity { 17 [inline_doc] enum GetMediaFileSystemsInteractivity {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 interface Events { 245 interface Events {
246 // Fired when a media gallery is changed or a gallery watch is dropped. 246 // Fired when a media gallery is changed or a gallery watch is dropped.
247 static void onGalleryChanged(GalleryChangeDetails details); 247 static void onGalleryChanged(GalleryChangeDetails details);
248 248
249 // The pending media scan has changed state. See details for more 249 // The pending media scan has changed state. See details for more
250 // information. 250 // information.
251 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."] 251 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."]
252 static void onScanProgress(ScanProgressDetails details); 252 static void onScanProgress(ScanProgressDetails details);
253 }; 253 };
254 }; 254 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698