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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/media_galleries.idl
diff --git a/chrome/common/extensions/api/media_galleries.idl b/chrome/common/extensions/api/media_galleries.idl
deleted file mode 100644
index 70b6153d39d52264753babbb09b8ef91acbb30af..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/media_galleries.idl
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// File-level comment to appease parser. Eventually this will not be necessary.
-
-namespace mediaGalleries {
-
- [inline_doc] enum GetMediaFileSystemsInteractivity {
- // Do not act interactively.
- no,
- // Ask the user to manage permitted media galleries.
- yes,
- // Ask the user to manage permitted galleries only if the return set would
- // otherwise be empty.
- if_needed
- };
-
- [inline_doc] dictionary MediaFileSystemsDetails {
- // Whether to prompt the user for permission to additional media galleries
- // before returning the permitted set. Default is silent. If the value
- // 'yes' is passed, or if the application has not been granted access to
- // any media galleries and the value 'if_needed' is passed, then the
- // media gallery configuration dialog will be displayed.
- GetMediaFileSystemsInteractivity? interactive;
- };
-
- callback MediaFileSystemsCallback =
- void ([instanceOf=LocalFileSystem] optional object[] mediaFileSystems);
-
- interface Functions {
- // Get the media galleries configured in this user agent. If none are
- // configured or available, the callback will receive an empty array.
- static void getMediaFileSystems(optional MediaFileSystemsDetails details,
- MediaFileSystemsCallback callback);
- };
-
-};
« 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