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

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: Addressing comments - Patch currently being broken up Created 7 years, 6 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).
5 namespace mediaGalleries { 7 namespace mediaGalleries {
6 8
7 [inline_doc] enum GetMediaFileSystemsInteractivity { 9 [inline_doc] enum GetMediaFileSystemsInteractivity {
8 // Do not act interactively. 10 // Do not act interactively.
9 no, 11 no,
10 // Ask the user to manage permitted media galleries. 12 // Ask the user to manage permitted media galleries.
11 yes, 13 yes,
12 // Ask the user to manage permitted galleries only if the return set would 14 // Ask the user to manage permitted galleries only if the return set would
13 // otherwise be empty. 15 // otherwise be empty.
14 if_needed 16 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. 52 // configured or available, the callback will receive an empty array.
51 static void getMediaFileSystems(optional MediaFileSystemsDetails details, 53 static void getMediaFileSystems(optional MediaFileSystemsDetails details,
52 MediaFileSystemsCallback callback); 54 MediaFileSystemsCallback callback);
53 55
54 // Get metadata about a specific media file system. 56 // Get metadata about a specific media file system.
55 [nocompile] static MediaFileSystemMetadata getMediaFileSystemMetadata( 57 [nocompile] static MediaFileSystemMetadata getMediaFileSystemMetadata(
56 [instanceOf=DOMFileSystem] object mediaFileSystem); 58 [instanceOf=DOMFileSystem] object mediaFileSystem);
57 }; 59 };
58 60
59 }; 61 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/management.json ('k') | chrome/common/extensions/api/media_galleries_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698