| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MediaCapabilities_h | |
| 6 #define MediaCapabilities_h | |
| 7 | |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "platform/heap/Visitor.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 class MediaConfiguration; | |
| 14 class ScriptPromise; | |
| 15 class ScriptState; | |
| 16 | |
| 17 class MediaCapabilities final | |
| 18 : public GarbageCollectedFinalized<MediaCapabilities>, | |
| 19 public ScriptWrappable { | |
| 20 DEFINE_WRAPPERTYPEINFO(); | |
| 21 | |
| 22 public: | |
| 23 MediaCapabilities(); | |
| 24 | |
| 25 ScriptPromise query(ScriptState*, const MediaConfiguration&); | |
| 26 | |
| 27 DECLARE_VIRTUAL_TRACE(); | |
| 28 }; | |
| 29 | |
| 30 } // namespace blink | |
| 31 | |
| 32 #endif // MediaCapabilities_h | |
| OLD | NEW |