Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / renderer / media / webinbandtexttrack_impl.h
blob293fbd3fac93919237f9cc959a88c321daaa21fe
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"
11 namespace content {
13 class WebInbandTextTrackImpl : public blink::WebInbandTextTrack {
14 public:
15 WebInbandTextTrackImpl(Kind kind,
16 const blink::WebString& label,
17 const blink::WebString& language,
18 const blink::WebString& id,
19 int index);
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;
33 private:
34 blink::WebInbandTextTrackClient* client_;
35 Kind kind_;
36 blink::WebString label_;
37 blink::WebString language_;
38 blink::WebString id_;
39 int index_;
40 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl);
43 } // namespace content
45 #endif // CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_