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

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

Issue 291303003: Eliminate MediaPlayer & MediaPlayerClient abstractions (fullscreen apis) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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/FullscreenController.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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; 108 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE;
109 virtual WebCore::MediaPlayer::ReadyState readyState() const OVERRIDE; 109 virtual WebCore::MediaPlayer::ReadyState readyState() const OVERRIDE;
110 virtual double maxTimeSeekable() const OVERRIDE; 110 virtual double maxTimeSeekable() const OVERRIDE;
111 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE; 111 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE;
112 virtual bool didLoadingProgress() const OVERRIDE; 112 virtual bool didLoadingProgress() const OVERRIDE;
113 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR IDE; 113 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR IDE;
114 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul tiplyAlpha, bool flipY) OVERRIDE; 114 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul tiplyAlpha, bool flipY) OVERRIDE;
115 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; 115 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE;
116 virtual bool hasSingleSecurityOrigin() const OVERRIDE; 116 virtual bool hasSingleSecurityOrigin() const OVERRIDE;
117 virtual double mediaTimeForTimeValue(double timeValue) const OVERRIDE; 117 virtual double mediaTimeForTimeValue(double timeValue) const OVERRIDE;
118 virtual void showFullscreenOverlay() OVERRIDE;
119 virtual void hideFullscreenOverlay() OVERRIDE;
120 virtual bool canShowFullscreenOverlay() const OVERRIDE;
121 118
122 #if ENABLE(WEB_AUDIO) 119 #if ENABLE(WEB_AUDIO)
123 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; 120 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE;
124 #endif 121 #endif
125 122
126 private: 123 private:
127 explicit WebMediaPlayerClientImpl(WebCore::MediaPlayerClient*); 124 explicit WebMediaPlayerClientImpl(WebCore::MediaPlayerClient*);
128 125
129 WebCore::HTMLMediaElement& mediaElement() const; 126 WebCore::HTMLMediaElement& mediaElement() const;
130 127
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 Mutex provideInputLock; 184 Mutex provideInputLock;
188 }; 185 };
189 186
190 AudioSourceProviderImpl m_audioSourceProvider; 187 AudioSourceProviderImpl m_audioSourceProvider;
191 #endif 188 #endif
192 }; 189 };
193 190
194 } // namespace blink 191 } // namespace blink
195 192
196 #endif 193 #endif
OLDNEW
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698