OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012, 2013 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 virtual float maxTimeSeekable() const = 0; | 100 virtual float maxTimeSeekable() const = 0; |
101 virtual PassRefPtr<TimeRanges> buffered() const = 0; | 101 virtual PassRefPtr<TimeRanges> buffered() const = 0; |
102 | 102 |
103 virtual bool didLoadingProgress() const = 0; | 103 virtual bool didLoadingProgress() const = 0; |
104 | 104 |
105 virtual void setSize(const IntSize&) = 0; | 105 virtual void setSize(const IntSize&) = 0; |
106 | 106 |
107 virtual void paint(GraphicsContext*, const IntRect&) = 0; | 107 virtual void paint(GraphicsContext*, const IntRect&) = 0; |
108 | 108 |
109 virtual void paintCurrentFrameInContext(GraphicsContext* c, const IntRect& r
) { paint(c, r); } | 109 virtual void paintCurrentFrameInContext(GraphicsContext* c, const IntRect& r
) { paint(c, r); } |
| 110 virtual bool copyVideoTextureToCanvas(GraphicsContext*, GraphicsContext3D*)
{ return false; } |
110 virtual bool copyVideoTextureToPlatformTexture(GraphicsContext3D*, Platform3
DObject, GC3Dint, GC3Denum, GC3Denum, bool, bool) { return false; } | 111 virtual bool copyVideoTextureToPlatformTexture(GraphicsContext3D*, Platform3
DObject, GC3Dint, GC3Denum, GC3Denum, bool, bool) { return false; } |
111 | 112 |
112 virtual void setPreload(MediaPlayer::Preload) { } | 113 virtual void setPreload(MediaPlayer::Preload) { } |
113 | 114 |
114 virtual bool hasAvailableVideoFrame() const { return readyState() >= MediaPl
ayer::HaveCurrentData; } | 115 virtual bool hasAvailableVideoFrame() const { return readyState() >= MediaPl
ayer::HaveCurrentData; } |
115 | 116 |
116 virtual bool canLoadPoster() const { return false; } | 117 virtual bool canLoadPoster() const { return false; } |
117 virtual void setPoster(const String&) { } | 118 virtual void setPoster(const String&) { } |
118 | 119 |
119 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO) | 120 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO) |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 191 |
191 #if USE(GSTREAMER) | 192 #if USE(GSTREAMER) |
192 virtual void simulateAudioInterruption() { } | 193 virtual void simulateAudioInterruption() { } |
193 #endif | 194 #endif |
194 }; | 195 }; |
195 | 196 |
196 } | 197 } |
197 | 198 |
198 #endif | 199 #endif |
199 #endif | 200 #endif |
OLD | NEW |