OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // Dimension of the video. | 136 // Dimension of the video. |
137 virtual WebSize naturalSize() const = 0; | 137 virtual WebSize naturalSize() const = 0; |
138 | 138 |
139 // Getters of playback state. | 139 // Getters of playback state. |
140 virtual bool paused() const = 0; | 140 virtual bool paused() const = 0; |
141 virtual bool seeking() const = 0; | 141 virtual bool seeking() const = 0; |
142 virtual double duration() const = 0; | 142 virtual double duration() const = 0; |
143 virtual double currentTime() const = 0; | 143 virtual double currentTime() const = 0; |
144 | 144 |
145 // Internal states of loading and network. | 145 // Internal states of loading and network. |
146 virtual NetworkState networkState() const = 0; | 146 virtual NetworkState getNetworkState() const = 0; |
147 virtual ReadyState readyState() const = 0; | 147 virtual ReadyState getReadyState() const = 0; |
148 | 148 |
149 virtual bool didLoadingProgress() = 0; | 149 virtual bool didLoadingProgress() = 0; |
150 | 150 |
151 virtual bool hasSingleSecurityOrigin() const = 0; | 151 virtual bool hasSingleSecurityOrigin() const = 0; |
152 virtual bool didPassCORSAccessCheck() const = 0; | 152 virtual bool didPassCORSAccessCheck() const = 0; |
153 | 153 |
154 virtual double mediaTimeForTimeValue(double timeValue) const = 0; | 154 virtual double mediaTimeForTimeValue(double timeValue) const = 0; |
155 | 155 |
156 virtual unsigned decodedFrameCount() const = 0; | 156 virtual unsigned decodedFrameCount() const = 0; |
157 virtual unsigned droppedFrameCount() const = 0; | 157 virtual unsigned droppedFrameCount() const = 0; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 virtual void exitedFullscreen() { } | 190 virtual void exitedFullscreen() { } |
191 | 191 |
192 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac
kIds) { } | 192 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac
kIds) { } |
193 // |selectedTrackId| is null if no track is selected. | 193 // |selectedTrackId| is null if no track is selected. |
194 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } | 194 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } |
195 }; | 195 }; |
196 | 196 |
197 } // namespace blink | 197 } // namespace blink |
198 | 198 |
199 #endif | 199 #endif |
OLD | NEW |