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

Side by Side Diff: Source/web/WebMediaPlayerClientImpl.h

Issue 318923004: Eliminate MediaPlayer & MediaPlayerClient abstractions(readystate) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed review comments Created 6 years, 6 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
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; 90 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE;
91 virtual void requestFullscreen() OVERRIDE; 91 virtual void requestFullscreen() OVERRIDE;
92 virtual void requestSeek(double) OVERRIDE; 92 virtual void requestSeek(double) OVERRIDE;
93 93
94 // MediaPlayer methods: 94 // MediaPlayer methods:
95 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; 95 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE;
96 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE; 96 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE;
97 virtual double rate() const OVERRIDE; 97 virtual double rate() const OVERRIDE;
98 virtual void setRate(double) OVERRIDE; 98 virtual void setRate(double) OVERRIDE;
99 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; 99 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE;
100 virtual WebCore::MediaPlayer::ReadyState readyState() const OVERRIDE;
101 virtual double maxTimeSeekable() const OVERRIDE; 100 virtual double maxTimeSeekable() const OVERRIDE;
102 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE; 101 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE;
103 virtual bool didLoadingProgress() const OVERRIDE; 102 virtual bool didLoadingProgress() const OVERRIDE;
104 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR IDE; 103 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR IDE;
105 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul tiplyAlpha, bool flipY) OVERRIDE; 104 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul tiplyAlpha, bool flipY) OVERRIDE;
106 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; 105 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE;
107 106
108 #if ENABLE(WEB_AUDIO) 107 #if ENABLE(WEB_AUDIO)
109 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; 108 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE;
110 #endif 109 #endif
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 Mutex provideInputLock; 172 Mutex provideInputLock;
174 }; 173 };
175 174
176 AudioSourceProviderImpl m_audioSourceProvider; 175 AudioSourceProviderImpl m_audioSourceProvider;
177 #endif 176 #endif
178 }; 177 };
179 178
180 } // namespace blink 179 } // namespace blink
181 180
182 #endif 181 #endif
OLDNEW
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698