| OLD | NEW |
| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 virtual WebCore::MediaPlayer::ReadyState readyState() const; | 83 virtual WebCore::MediaPlayer::ReadyState readyState() const; |
| 84 virtual float maxTimeSeekable() const; | 84 virtual float maxTimeSeekable() const; |
| 85 virtual float maxTimeBuffered() const; | 85 virtual float maxTimeBuffered() const; |
| 86 virtual int dataRate() const; | 86 virtual int dataRate() const; |
| 87 virtual void setAutobuffer(bool); | 87 virtual void setAutobuffer(bool); |
| 88 virtual bool totalBytesKnown() const; | 88 virtual bool totalBytesKnown() const; |
| 89 virtual unsigned totalBytes() const; | 89 virtual unsigned totalBytes() const; |
| 90 virtual unsigned bytesLoaded() const; | 90 virtual unsigned bytesLoaded() const; |
| 91 virtual void setSize(const WebCore::IntSize&); | 91 virtual void setSize(const WebCore::IntSize&); |
| 92 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&); | 92 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&); |
| 93 virtual bool hasSingleSecurityOrigin() const; |
| 94 virtual WebCore::MediaPlayer::MovieLoadType movieLoadType() const; |
| 93 | 95 |
| 94 private: | 96 private: |
| 95 WebMediaPlayerClientImpl(); | 97 WebMediaPlayerClientImpl(); |
| 96 | 98 |
| 97 static WebCore::MediaPlayerPrivateInterface* create(WebCore::MediaPlayer*); | 99 static WebCore::MediaPlayerPrivateInterface* create(WebCore::MediaPlayer*); |
| 98 static void getSupportedTypes(WTF::HashSet<WebCore::String>&); | 100 static void getSupportedTypes(WTF::HashSet<WebCore::String>&); |
| 99 static WebCore::MediaPlayer::SupportsType supportsType( | 101 static WebCore::MediaPlayer::SupportsType supportsType( |
| 100 const WebCore::String& type, const WebCore::String& codecs); | 102 const WebCore::String& type, const WebCore::String& codecs); |
| 101 | 103 |
| 102 WebCore::MediaPlayer* m_mediaPlayer; | 104 WebCore::MediaPlayer* m_mediaPlayer; |
| 103 OwnPtr<WebMediaPlayer> m_webMediaPlayer; | 105 OwnPtr<WebMediaPlayer> m_webMediaPlayer; |
| 104 OwnPtr<WebKit::WebCanvas> m_webCanvas; | 106 OwnPtr<WebKit::WebCanvas> m_webCanvas; |
| 105 }; | 107 }; |
| 106 | 108 |
| 107 } // namespace WebKit | 109 } // namespace WebKit |
| 108 | 110 |
| 109 #endif | 111 #endif |
| 110 | 112 |
| 111 #endif | 113 #endif |
| OLD | NEW |