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

Side by Side Diff: third_party/chrome/idl/experimental_media_galleries.idl

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 namespace experimental.mediaGalleries {
6
7 callback AssembleMediaFileCallback =
8 void ([instanceOf=Blob] optional object mediaFile);
9
10 interface Functions {
11 // Create a new MediaFile setting the metadata in the Blob to the supplied
12 // values, overriding any existing metadata in the media file. If user agent
13 // does not recognize the Blob as a supported file format, it will fail.
14 // |mediaFileContents| : the media bytes.
15 // |metadata| : the metadata. TODO(estade): this should be
16 // [instanceOf=Metafile].
17 static void assembleMediaFile(
18 [instanceOf=Blob] object mediaFileContents,
19 object metadata,
20 AssembleMediaFileCallback callback);
21
22 // Get any thumbnails contained in the passed media file. The resulting
23 // directory reader refers to a virtual directory that can not be navigated
24 // to. If there are no thumbnails in the passed file entry, the virtual
25 // directory will have no entries.
26 // TODO(estade): The return type should be Directory. The argument type
27 // should be [instanceOf=FileEntry].
28 [nocompile] static object extractEmbeddedThumbnails(object mediaFile);
29 };
30
31 };
OLDNEW
« no previous file with comments | « third_party/chrome/idl/experimental_input_virtual_keyboard.json ('k') | third_party/chrome/idl/experimental_notification.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698