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

Side by Side Diff: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h

Issue 13685002: Enable video painting on Canvas for Chrome on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual WebCore::MediaPlayer::ReadyState readyState() const; 116 virtual WebCore::MediaPlayer::ReadyState readyState() const;
117 virtual float maxTimeSeekable() const; 117 virtual float maxTimeSeekable() const;
118 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const; 118 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const;
119 virtual int dataRate() const; 119 virtual int dataRate() const;
120 virtual bool totalBytesKnown() const; 120 virtual bool totalBytesKnown() const;
121 virtual unsigned totalBytes() const; 121 virtual unsigned totalBytes() const;
122 virtual bool didLoadingProgress() const; 122 virtual bool didLoadingProgress() const;
123 virtual void setSize(const WebCore::IntSize&); 123 virtual void setSize(const WebCore::IntSize&);
124 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&); 124 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&);
125 virtual void paintCurrentFrameInContext(WebCore::GraphicsContext*, const Web Core::IntRect&); 125 virtual void paintCurrentFrameInContext(WebCore::GraphicsContext*, const Web Core::IntRect&);
126 virtual bool copyVideoTextureToCanvas(WebCore::GraphicsContext*, WebCore::Gr aphicsContext3D*);
126 virtual bool copyVideoTextureToPlatformTexture(WebCore::GraphicsContext3D*, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY); 127 virtual bool copyVideoTextureToPlatformTexture(WebCore::GraphicsContext3D*, Platform3DObject texture, GC3Dint level, GC3Denum type, GC3Denum internalFormat, bool premultiplyAlpha, bool flipY);
127 virtual void setPreload(WebCore::MediaPlayer::Preload); 128 virtual void setPreload(WebCore::MediaPlayer::Preload);
128 virtual bool hasSingleSecurityOrigin() const; 129 virtual bool hasSingleSecurityOrigin() const;
129 virtual bool didPassCORSAccessCheck() const; 130 virtual bool didPassCORSAccessCheck() const;
130 virtual WebCore::MediaPlayer::MovieLoadType movieLoadType() const; 131 virtual WebCore::MediaPlayer::MovieLoadType movieLoadType() const;
131 virtual float mediaTimeForTimeValue(float timeValue) const; 132 virtual float mediaTimeForTimeValue(float timeValue) const;
132 virtual unsigned decodedFrameCount() const; 133 virtual unsigned decodedFrameCount() const;
133 virtual unsigned droppedFrameCount() const; 134 virtual unsigned droppedFrameCount() const;
134 virtual unsigned audioDecodedByteCount() const; 135 virtual unsigned audioDecodedByteCount() const;
135 virtual unsigned videoDecodedByteCount() const; 136 virtual unsigned videoDecodedByteCount() const;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 #if ENABLE(MEDIA_SOURCE) 233 #if ENABLE(MEDIA_SOURCE)
233 RefPtr<WebCore::MediaSource> m_mediaSource; 234 RefPtr<WebCore::MediaSource> m_mediaSource;
234 #endif 235 #endif
235 }; 236 };
236 237
237 } // namespace WebKit 238 } // namespace WebKit
238 239
239 #endif 240 #endif
240 241
241 #endif 242 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698