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

Side by Side Diff: third_party/WebKit/Source/modules/media_capabilities/MediaCapabilities.h

Issue 2811103006: Media Capabilities encoding: Blink pass-thru and skeleton renderer/ impl (Closed)
Patch Set: haraken@ comments Created 3 years, 8 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef MediaCapabilities_h 5 #ifndef MediaCapabilities_h
6 #define MediaCapabilities_h 6 #define MediaCapabilities_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Visitor.h" 9 #include "platform/heap/Visitor.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class MediaDecodingConfiguration; 13 class MediaDecodingConfiguration;
14 class MediaEncodingConfiguration;
14 class ScriptPromise; 15 class ScriptPromise;
15 class ScriptState; 16 class ScriptState;
16 17
17 class MediaCapabilities final 18 class MediaCapabilities final
18 : public GarbageCollectedFinalized<MediaCapabilities>, 19 : public GarbageCollectedFinalized<MediaCapabilities>,
19 public ScriptWrappable { 20 public ScriptWrappable {
20 DEFINE_WRAPPERTYPEINFO(); 21 DEFINE_WRAPPERTYPEINFO();
21 22
22 public: 23 public:
23 MediaCapabilities(); 24 MediaCapabilities();
24 25
25 ScriptPromise decodingInfo(ScriptState*, const MediaDecodingConfiguration&); 26 ScriptPromise decodingInfo(ScriptState*, const MediaDecodingConfiguration&);
27 ScriptPromise encodingInfo(ScriptState*, const MediaEncodingConfiguration&);
26 28
27 DECLARE_VIRTUAL_TRACE(); 29 DECLARE_VIRTUAL_TRACE();
28 }; 30 };
29 31
30 } // namespace blink 32 } // namespace blink
31 33
32 #endif // MediaCapabilities_h 34 #endif // MediaCapabilities_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698