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 CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_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
,
20 virtual ~WebInbandTextTrackImpl();
22 virtual void setClient(blink::WebInbandTextTrackClient
* client
);
23 virtual blink::WebInbandTextTrackClient
* client();
25 virtual Kind
kind() const;
27 virtual blink::WebString
label() const;
28 virtual blink::WebString
language() const;
29 virtual blink::WebString
id() const;
31 virtual int textTrackIndex() const;
34 blink::WebInbandTextTrackClient
* client_
;
36 blink::WebString label_
;
37 blink::WebString language_
;
40 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl
);
43 } // namespace content
45 #endif // CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_