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

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

Issue 131763011: Expose the poster image URL to WebMediaPlayer subclasses (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: jochen@ comment Created 6 years, 10 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual bool hasAudio() const OVERRIDE; 107 virtual bool hasAudio() const OVERRIDE;
108 virtual double duration() const OVERRIDE; 108 virtual double duration() const OVERRIDE;
109 virtual double currentTime() const OVERRIDE; 109 virtual double currentTime() const OVERRIDE;
110 virtual void seek(double time) OVERRIDE; 110 virtual void seek(double time) OVERRIDE;
111 virtual bool seeking() const OVERRIDE; 111 virtual bool seeking() const OVERRIDE;
112 virtual double rate() const OVERRIDE; 112 virtual double rate() const OVERRIDE;
113 virtual void setRate(double) OVERRIDE; 113 virtual void setRate(double) OVERRIDE;
114 virtual bool paused() const OVERRIDE; 114 virtual bool paused() const OVERRIDE;
115 virtual void setVolume(double) OVERRIDE; 115 virtual void setVolume(double) OVERRIDE;
116 virtual void setMuted(bool) OVERRIDE; 116 virtual void setMuted(bool) OVERRIDE;
117 virtual void setPoster(const WebCore::KURL&) OVERRIDE;
117 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; 118 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE;
118 virtual WebCore::MediaPlayer::ReadyState readyState() const OVERRIDE; 119 virtual WebCore::MediaPlayer::ReadyState readyState() const OVERRIDE;
119 virtual double maxTimeSeekable() const OVERRIDE; 120 virtual double maxTimeSeekable() const OVERRIDE;
120 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE; 121 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE;
121 virtual bool didLoadingProgress() const OVERRIDE; 122 virtual bool didLoadingProgress() const OVERRIDE;
122 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR IDE; 123 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR IDE;
123 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul tiplyAlpha, bool flipY) OVERRIDE; 124 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul tiplyAlpha, bool flipY) OVERRIDE;
124 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; 125 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE;
125 virtual bool hasSingleSecurityOrigin() const OVERRIDE; 126 virtual bool hasSingleSecurityOrigin() const OVERRIDE;
126 virtual bool didPassCORSAccessCheck() const OVERRIDE; 127 virtual bool didPassCORSAccessCheck() const OVERRIDE;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 217
217 AudioSourceProviderImpl m_audioSourceProvider; 218 AudioSourceProviderImpl m_audioSourceProvider;
218 #endif 219 #endif
219 220
220 WebMediaPlayer::LoadType m_loadType; 221 WebMediaPlayer::LoadType m_loadType;
221 }; 222 };
222 223
223 } // namespace blink 224 } // namespace blink
224 225
225 #endif 226 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698