Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(973)

Side by Side Diff: webkit/renderer/media/texttrack_impl.h

Issue 18261007: Migrate webkit/renderer/media/ to content/renderer/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win64 AGAIN Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef WEBKIT_RENDERER_MEDIA_TEXTTRACK_IMPL_H_
6 #define WEBKIT_RENDERER_MEDIA_TEXTTRACK_IMPL_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "media/base/text_track.h"
13
14 namespace WebKit {
15 class WebMediaPlayerClient;
16 }
17
18 namespace webkit_media {
19
20 class WebInbandTextTrackImpl;
21
22 class TextTrackImpl : public media::TextTrack {
23 public:
24 // Constructor assumes ownership of the |text_track| object.
25 TextTrackImpl(WebKit::WebMediaPlayerClient* client,
26 WebInbandTextTrackImpl* text_track);
27
28 virtual ~TextTrackImpl();
29
30 virtual void addWebVTTCue(const base::TimeDelta& start,
31 const base::TimeDelta& end,
32 const std::string& id,
33 const std::string& content,
34 const std::string& settings) OVERRIDE;
35
36 private:
37 WebKit::WebMediaPlayerClient* client_;
38 scoped_ptr<WebInbandTextTrackImpl> text_track_;
39 DISALLOW_COPY_AND_ASSIGN(TextTrackImpl);
40 };
41
42 } // namespace webkit_media
43
44 #endif // WEBKIT_RENDERER_MEDIA_TEXTTRACK_IMPL_H_
45
OLDNEW
« no previous file with comments | « webkit/renderer/media/test_response_generator.cc ('k') | webkit/renderer/media/texttrack_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698