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

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

Issue 2807713002: [Media Capabilities] Rename query() to decodingInfo() and MediaDecodingAbility to MediaCapabilities… (Closed)
Patch Set: review comments & rebase 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 MediaConfiguration; 13 class MediaConfiguration;
14 class ScriptPromise; 14 class ScriptPromise;
15 class ScriptState; 15 class ScriptState;
16 16
17 class MediaCapabilities final 17 class MediaCapabilities final
18 : public GarbageCollectedFinalized<MediaCapabilities>, 18 : public GarbageCollectedFinalized<MediaCapabilities>,
19 public ScriptWrappable { 19 public ScriptWrappable {
20 DEFINE_WRAPPERTYPEINFO(); 20 DEFINE_WRAPPERTYPEINFO();
21 21
22 public: 22 public:
23 MediaCapabilities(); 23 MediaCapabilities();
24 24
25 ScriptPromise query(ScriptState*, const MediaConfiguration&); 25 ScriptPromise decodingInfo(ScriptState*, const MediaConfiguration&);
26 26
27 DECLARE_VIRTUAL_TRACE(); 27 DECLARE_VIRTUAL_TRACE();
28 }; 28 };
29 29
30 } // namespace blink 30 } // namespace blink
31 31
32 #endif // MediaCapabilities_h 32 #endif // MediaCapabilities_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698