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

Side by Side Diff: third_party/WebKit/public/platform/WebMediaPlayer.h

Issue 1415683009: Support earliest seekable time in WMPI. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more androidfixes. Created 5 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/MediaControls.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // True if the media is being played on a remote device. 136 // True if the media is being played on a remote device.
137 virtual bool isRemote() const { return false; } 137 virtual bool isRemote() const { return false; }
138 138
139 // Dimension of the video. 139 // Dimension of the video.
140 virtual WebSize naturalSize() const = 0; 140 virtual WebSize naturalSize() const = 0;
141 141
142 // Getters of playback state. 142 // Getters of playback state.
143 virtual bool paused() const = 0; 143 virtual bool paused() const = 0;
144 virtual bool seeking() const = 0; 144 virtual bool seeking() const = 0;
145 virtual double earliestTime() const = 0;
145 virtual double duration() const = 0; 146 virtual double duration() const = 0;
146 virtual double currentTime() const = 0; 147 virtual double currentTime() const = 0;
147 148
148 // Internal states of loading and network. 149 // Internal states of loading and network.
149 virtual NetworkState networkState() const = 0; 150 virtual NetworkState networkState() const = 0;
150 virtual ReadyState readyState() const = 0; 151 virtual ReadyState readyState() const = 0;
151 152
152 virtual bool didLoadingProgress() = 0; 153 virtual bool didLoadingProgress() = 0;
153 154
154 virtual bool hasSingleSecurityOrigin() const = 0; 155 virtual bool hasSingleSecurityOrigin() const = 0;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 virtual void enterFullscreen() { } 198 virtual void enterFullscreen() { }
198 199
199 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { } 200 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { }
200 // |selectedTrackId| is null if no track is selected. 201 // |selectedTrackId| is null if no track is selected.
201 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } 202 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { }
202 }; 203 };
203 204
204 } // namespace blink 205 } // namespace blink
205 206
206 #endif 207 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/MediaControls.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698