1 // Copyright 2013 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.
5 #ifndef MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_
6 #define MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_
8 #include "third_party/WebKit/public/platform/WebInbandTextTrack.h"
9 #include "third_party/WebKit/public/platform/WebString.h"
13 class WebInbandTextTrackImpl
: public blink::WebInbandTextTrack
{
15 WebInbandTextTrackImpl(Kind kind
,
16 const blink::WebString
& label
,
17 const blink::WebString
& language
,
18 const blink::WebString
& id
);
19 virtual ~WebInbandTextTrackImpl();
21 virtual void setClient(blink::WebInbandTextTrackClient
* client
);
22 virtual blink::WebInbandTextTrackClient
* client();
24 virtual Kind
kind() const;
26 virtual blink::WebString
label() const;
27 virtual blink::WebString
language() const;
28 virtual blink::WebString
id() const;
31 blink::WebInbandTextTrackClient
* client_
;
33 blink::WebString label_
;
34 blink::WebString language_
;
36 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl
);
41 #endif // MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_