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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing issues with experimental_APIs Created 7 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 // Use the <code>chrome.mediaGalleries</code> API to access media files (images,
6 // video, audio) from the user's local disks (with the user's consent).
7
8 [availability=23]
5 namespace mediaGalleries { 9 namespace mediaGalleries {
6 10
7 [inline_doc] enum GetMediaFileSystemsInteractivity { 11 [inline_doc] enum GetMediaFileSystemsInteractivity {
8 // Do not act interactively. 12 // Do not act interactively.
9 no, 13 no,
10 // Ask the user to manage permitted media galleries. 14 // Ask the user to manage permitted media galleries.
11 yes, 15 yes,
12 // Ask the user to manage permitted galleries only if the return set would 16 // Ask the user to manage permitted galleries only if the return set would
13 // otherwise be empty. 17 // otherwise be empty.
14 if_needed 18 if_needed
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // configured or available, the callback will receive an empty array. 54 // configured or available, the callback will receive an empty array.
51 static void getMediaFileSystems(optional MediaFileSystemsDetails details, 55 static void getMediaFileSystems(optional MediaFileSystemsDetails details,
52 MediaFileSystemsCallback callback); 56 MediaFileSystemsCallback callback);
53 57
54 // Get metadata about a specific media file system. 58 // Get metadata about a specific media file system.
55 [nocompile] static MediaFileSystemMetadata getMediaFileSystemMetadata( 59 [nocompile] static MediaFileSystemMetadata getMediaFileSystemMetadata(
56 [instanceOf=DOMFileSystem] object mediaFileSystem); 60 [instanceOf=DOMFileSystem] object mediaFileSystem);
57 }; 61 };
58 62
59 }; 63 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698