forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webinbandtexttrack_impl.h
42 lines (32 loc) · 1.29 KB
/
webinbandtexttrack_impl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_
#define MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_
#include "base/macros.h"
#include "third_party/blink/public/platform/web_inband_text_track.h"
#include "third_party/blink/public/platform/web_string.h"
namespace media {
class WebInbandTextTrackImpl : public blink::WebInbandTextTrack {
public:
WebInbandTextTrackImpl(Kind kind,
const blink::WebString& label,
const blink::WebString& language,
const blink::WebString& id);
~WebInbandTextTrackImpl() override;
void SetClient(blink::WebInbandTextTrackClient* client) override;
blink::WebInbandTextTrackClient* Client() override;
Kind GetKind() const override;
blink::WebString Label() const override;
blink::WebString Language() const override;
blink::WebString Id() const override;
private:
blink::WebInbandTextTrackClient* client_;
Kind kind_;
blink::WebString label_;
blink::WebString language_;
blink::WebString id_;
DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl);
};
} // namespace media
#endif // MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_