Home | History | Annotate | Download | only in glue

Lines Matching refs:WebKit

5 #include "webkit/glue/webmediaplayer_impl.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVideoFrame.h"
29 #include "webkit/glue/media/buffered_data_source.h"
30 #include "webkit/glue/media/simple_data_source.h"
31 #include "webkit/glue/media/video_renderer_impl.h"
32 #include "webkit/glue/media/web_video_renderer.h"
33 #include "webkit/glue/webvideoframe_impl.h"
35 using WebKit::WebCanvas;
36 using WebKit::WebRect;
37 using WebKit::WebSize;
69 // Refer to https://bugs.webkit.org/show_bug.cgi?id=52697 for details.
273 WebKit::WebMediaPlayerClient* client,
276 : network_state_(WebKit::WebMediaPlayer::Empty),
277 ready_state_(WebKit::WebMediaPlayer::HaveNothing),
293 WebKit::WebFrame* frame,
372 void WebMediaPlayerImpl::load(const WebKit::WebURL& url) {
393 SetNetworkState(WebKit::WebMediaPlayer::Loading);
394 SetReadyState(WebKit::WebMediaPlayer::HaveNothing);
434 // WebKit fires a seek(0) at the very start, however pipeline already does a
439 // We still have to notify WebKit that time has changed otherwise
505 COMPILE_ASSERT(int(WebKit::WebMediaPlayer::webkit_name) == \
512 void WebMediaPlayerImpl::setPreload(WebKit::WebMediaPlayer::Preload preload) {
536 WebKit::WebSize WebMediaPlayerImpl::naturalSize() const {
541 return WebKit::WebSize(width, height);
553 if (ready_state_ == WebKit::WebMediaPlayer::HaveNothing)
584 WebKit::WebMediaPlayer::NetworkState WebMediaPlayerImpl::networkState() const {
588 WebKit::WebMediaPlayer::ReadyState WebMediaPlayerImpl::readyState() const {
592 const WebKit::WebTimeRanges& WebMediaPlayerImpl::buffered() {
705 WebKit::WebMediaPlayer::MovieLoadType
713 return WebKit::WebMediaPlayer::LiveStream;
714 return WebKit::WebMediaPlayer::Unknown;
745 WebKit::WebVideoFrame* WebMediaPlayerImpl::getCurrentFrame() {
754 WebKit::WebVideoFrame* web_video_frame) {
777 WebKit::WebTimeRanges new_buffered(static_cast<size_t>(1));
786 SetReadyState(WebKit::WebMediaPlayer::HaveMetadata);
787 SetReadyState(WebKit::WebMediaPlayer::HaveEnoughData);
789 SetNetworkState(WebKit::WebMediaPlayer::Loaded);
794 // WebKit uses FormatError to indicate an error for bogus URL or bad file.
797 SetNetworkState(WebKit::WebMediaPlayer::FormatError);
812 SetReadyState(WebKit::WebMediaPlayer::HaveEnoughData);
866 SetNetworkState(WebKit::WebMediaPlayer::Loading);
871 network_state_ != WebKit::WebMediaPlayer::Idle) {
874 SetNetworkState(WebKit::WebMediaPlayer::Loaded);
877 SetNetworkState(WebKit::WebMediaPlayer::Idle);
883 WebKit::WebMediaPlayer::NetworkState state) {
891 WebKit::WebMediaPlayer::ReadyState state) {
924 WebKit::WebMediaPlayerClient* WebMediaPlayerImpl::GetClient() {