OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/base/text_renderer.h" | 5 #include "media/base/text_renderer.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
11 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
12 #include "media/base/bind_to_current_loop.h" | 14 #include "media/base/bind_to_current_loop.h" |
13 #include "media/base/decoder_buffer.h" | 15 #include "media/base/decoder_buffer.h" |
14 #include "media/base/demuxer.h" | 16 #include "media/base/demuxer.h" |
15 #include "media/base/text_cue.h" | 17 #include "media/base/text_cue.h" |
16 | 18 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 | 318 |
317 TextRenderer::TextTrackState::TextTrackState(scoped_ptr<TextTrack> tt) | 319 TextRenderer::TextTrackState::TextTrackState(scoped_ptr<TextTrack> tt) |
318 : read_state(kReadIdle), | 320 : read_state(kReadIdle), |
319 text_track(tt.Pass()) { | 321 text_track(tt.Pass()) { |
320 } | 322 } |
321 | 323 |
322 TextRenderer::TextTrackState::~TextTrackState() { | 324 TextRenderer::TextTrackState::~TextTrackState() { |
323 } | 325 } |
324 | 326 |
325 } // namespace media | 327 } // namespace media |
OLD | NEW |