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

Side by Side Diff: media/base/video_renderer.h

Issue 10830342: Address post commit nits for r151132 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | media/filters/video_renderer_base_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef MEDIA_BASE_VIDEO_RENDERER_H_ 5 #ifndef MEDIA_BASE_VIDEO_RENDERER_H_
6 #define MEDIA_BASE_VIDEO_RENDERER_H_ 6 #define MEDIA_BASE_VIDEO_RENDERER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 19 matching lines...) Expand all
30 // Used to update the pipeline's clock time. The parameter is the time that 30 // Used to update the pipeline's clock time. The parameter is the time that
31 // the clock should not exceed. 31 // the clock should not exceed.
32 typedef base::Callback<void(base::TimeDelta)> TimeCB; 32 typedef base::Callback<void(base::TimeDelta)> TimeCB;
33 33
34 // Executed when the natural size of the video has changed. 34 // Executed when the natural size of the video has changed.
35 typedef base::Callback<void(const gfx::Size& size)> NaturalSizeChangedCB; 35 typedef base::Callback<void(const gfx::Size& size)> NaturalSizeChangedCB;
36 36
37 // Used to query the current time or duration of the media. 37 // Used to query the current time or duration of the media.
38 typedef base::Callback<base::TimeDelta()> TimeDeltaCB; 38 typedef base::Callback<base::TimeDelta()> TimeDeltaCB;
39 39
40 // Initialize a VideoRenderer with the given VideoDecoder, executing 40 // Initialize a VideoRenderer with the given DemuxerStream and
41 // |init_cb| callback upon completion. 41 // VideoDecoderList, executing |init_cb| callback upon completion.
42 // 42 //
43 // |statistics_cb| is executed periodically with video rendering stats, such 43 // |statistics_cb| is executed periodically with video rendering stats, such
44 // as dropped frames. 44 // as dropped frames.
45 // 45 //
46 // |time_cb| is executed whenever time has advanced by way of video rendering. 46 // |time_cb| is executed whenever time has advanced by way of video rendering.
47 // 47 //
48 // |size_changed_cb| is executed whenever the dimensions of the video has 48 // |size_changed_cb| is executed whenever the dimensions of the video has
49 // changed. 49 // changed.
50 // 50 //
51 // |ended_cb| is executed when video rendering has reached the end of stream. 51 // |ended_cb| is executed when video rendering has reached the end of stream.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 VideoRenderer(); 104 VideoRenderer();
105 virtual ~VideoRenderer(); 105 virtual ~VideoRenderer();
106 106
107 private: 107 private:
108 DISALLOW_COPY_AND_ASSIGN(VideoRenderer); 108 DISALLOW_COPY_AND_ASSIGN(VideoRenderer);
109 }; 109 };
110 110
111 } // namespace media 111 } // namespace media
112 112
113 #endif // MEDIA_BASE_VIDEO_RENDERER_H_ 113 #endif // MEDIA_BASE_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | media/filters/video_renderer_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698