Revert of Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320) (patchset...
[chromium-blink-merge.git] / media / blink / webinbandtexttrack_impl.h
blob9c75caec6ad3e316294331b4fc3b8af90eaf359a
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"
11 namespace media {
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 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;
30 private:
31 blink::WebInbandTextTrackClient* client_;
32 Kind kind_;
33 blink::WebString label_;
34 blink::WebString language_;
35 blink::WebString id_;
36 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl);
39 } // namespace media
41 #endif // MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_