| Index: Source/WebCore/platform/graphics/MediaPlayer.h
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/MediaPlayer.h (revision 119992)
|
| +++ Source/WebCore/platform/graphics/MediaPlayer.h (working copy)
|
| @@ -101,6 +101,8 @@
|
|
|
| class MediaPlayerClient {
|
| public:
|
| + enum CORSMode { Unspecified, Anonymous, UseCredentials };
|
| +
|
| virtual ~MediaPlayerClient() { }
|
|
|
| // Get the document which the media player is owned by
|
| @@ -178,6 +180,7 @@
|
|
|
| virtual String mediaPlayerReferrer() const { return String(); }
|
| virtual String mediaPlayerUserAgent() const { return String(); }
|
| + virtual CORSMode mediaPlayerCORSMode() const { return Unspecified; }
|
| };
|
|
|
| class MediaPlayer {
|
| @@ -340,6 +343,8 @@
|
|
|
| bool hasSingleSecurityOrigin() const;
|
|
|
| + bool didPassCORSAccessCheck() const;
|
| +
|
| float mediaTimeForTimeValue(float) const;
|
|
|
| double maximumDurationToCacheMediaTime() const;
|
|
|