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

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

Issue 10796074: Move VideoRenderer out of Filter heirarchy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: GetMediaTime Created 8 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
« no previous file with comments | « media/base/audio_renderer.cc ('k') | media/base/composite_filter.h » ('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_CLOCK_H_ 5 #ifndef MEDIA_BASE_CLOCK_H_
6 #define MEDIA_BASE_CLOCK_H_ 6 #define MEDIA_BASE_CLOCK_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "media/base/media_export.h" 10 #include "media/base/media_export.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // time set via SetTime(). 109 // time set via SetTime().
110 base::Time reference_; 110 base::Time reference_;
111 111
112 // Current accumulated amount of media time. The remaining portion must be 112 // Current accumulated amount of media time. The remaining portion must be
113 // calculated by comparing the system time to the reference time. 113 // calculated by comparing the system time to the reference time.
114 base::TimeDelta media_time_; 114 base::TimeDelta media_time_;
115 115
116 // Current playback rate. 116 // Current playback rate.
117 float playback_rate_; 117 float playback_rate_;
118 118
119 // The maximum time that can be returned by calls to GetCurrentTime. 119 // The maximum time that can be returned by calls to Elapsed().
120 base::TimeDelta max_time_; 120 base::TimeDelta max_time_;
121 121
122 // Duration of the media. 122 // Duration of the media.
123 base::TimeDelta duration_; 123 base::TimeDelta duration_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(Clock); 125 DISALLOW_COPY_AND_ASSIGN(Clock);
126 }; 126 };
127 127
128 } // namespace media 128 } // namespace media
129 129
130 #endif // MEDIA_BASE_CLOCK_H_ 130 #endif // MEDIA_BASE_CLOCK_H_
OLDNEW
« no previous file with comments | « media/base/audio_renderer.cc ('k') | media/base/composite_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698