Chromium Code Reviews| 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 | |
| 10 namespace blink { | |
| 11 | |
| 12 class MediaConfiguration; | |
| 13 class ScriptPromise; | |
| 14 class ScriptState; | |
| 15 | |
| 16 class MediaCapabilities final | |
| 17 : public GarbageCollectedFinalized<MediaCapabilities>, | |
| 18 public ScriptWrappable { | |
| 19 DEFINE_WRAPPERTYPEINFO(); | |
| 20 | |
| 21 public: | |
| 22 MediaCapabilities(); | |
| 23 | |
| 24 ScriptPromise query(ScriptState*, const MediaConfiguration&); | |
| 25 | |
| 26 DECLARE_VIRTUAL_TRACE(); | |
| 27 | |
| 28 private: | |
|
haraken
2017/02/13 11:23:31
Remove private.
mlamouri (slow - plz ping)
2017/02/13 11:33:29
Oups :)
| |
| 29 }; | |
| 30 | |
| 31 } // namespace blink | |
| 32 | |
| 33 #endif // MediaCapabilities_h | |
| OLD | NEW |