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

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

Issue 10823193: Move MediaGalleries.getMediaFileSystems back to experimental for M22 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // File-level comment to appease parser. Eventually this will not be necessary.
6
7 namespace mediaGalleries {
8
9 [inline_doc] enum GetMediaFileSystemsInteractivity {
10 // Do not act interactively.
11 no,
12 // Ask the user to manage permitted media galleries.
13 yes,
14 // Ask the user to manage permitted galleries only if the return set would
15 // otherwise be empty.
16 if_needed
17 };
18
19 [inline_doc] dictionary MediaFileSystemsDetails {
20 // Whether to prompt the user for permission to additional media galleries
21 // before returning the permitted set. Default is silent. If the value
22 // 'yes' is passed, or if the application has not been granted access to
23 // any media galleries and the value 'if_needed' is passed, then the
24 // media gallery configuration dialog will be displayed.
25 GetMediaFileSystemsInteractivity? interactive;
26 };
27
28 callback MediaFileSystemsCallback =
29 void ([instanceOf=LocalFileSystem] optional object[] mediaFileSystems);
30
31 interface Functions {
32 // Get the media galleries configured in this user agent. If none are
33 // configured or available, the callback will receive an empty array.
34 static void getMediaFileSystems(optional MediaFileSystemsDetails details,
35 MediaFileSystemsCallback callback);
36 };
37
38 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/experimental_media_galleries.idl ('k') | chrome/common/extensions/docs/apps/api_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698