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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // configured or available, the callback will receive an empty array. 54 // configured or available, the callback will receive an empty array.
53 static void getMediaFileSystems(optional MediaFileSystemsDetails details, 55 static void getMediaFileSystems(optional MediaFileSystemsDetails details,
54 MediaFileSystemsCallback callback); 56 MediaFileSystemsCallback callback);
55 57
56 // Get metadata about a specific media file system. 58 // Get metadata about a specific media file system.
57 [nocompile] static MediaFileSystemMetadata getMediaFileSystemMetadata( 59 [nocompile] static MediaFileSystemMetadata getMediaFileSystemMetadata(
58 [instanceOf=DOMFileSystem] object mediaFileSystem); 60 [instanceOf=DOMFileSystem] object mediaFileSystem);
59 }; 61 };
60 62
61 }; 63 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/manifest_types.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