summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/win/QTMovieVisualContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/win/QTMovieVisualContext.h')
-rw-r--r--WebCore/platform/graphics/win/QTMovieVisualContext.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/win/QTMovieVisualContext.h b/WebCore/platform/graphics/win/QTMovieVisualContext.h
index 8846416..057031e 100644
--- a/WebCore/platform/graphics/win/QTMovieVisualContext.h
+++ b/WebCore/platform/graphics/win/QTMovieVisualContext.h
@@ -54,7 +54,9 @@ public:
class QTMOVIEWIN_API QTMovieVisualContext : public RefCounted<QTMovieVisualContext> {
public:
- QTMovieVisualContext(QTMovieVisualContextClient*, CFDictionaryRef options = 0);
+ enum Type { ConfigureForCGImage, ConfigureForCAImageQueue };
+
+ static PassRefPtr<QTMovieVisualContext> create(QTMovieVisualContextClient*, Type);
~QTMovieVisualContext();
bool isImageAvailableForTime(const QTCVTimeStamp*) const;
@@ -66,10 +68,10 @@ public:
void setMovie(PassRefPtr<QTMovie>);
QTMovie* movie() const;
- static CFDictionaryRef getCGImageOptions();
static double currentHostTime();
protected:
+ QTMovieVisualContext(QTMovieVisualContextClient*, Type);
void setupVisualContext();
friend class QTMovieVisualContextPriv;