Changeset 66956 in webkit
- Timestamp:
- Sep 8, 2010 1:32:11 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r66955 r66956 1 2010-09-06 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 3 Reviewed by Andreas Kling. 4 5 Implement MediaPlayerPrivate::platformMedia() for the Qt port 6 7 https://bugs.webkit.org/show_bug.cgi?id=45264 8 9 * platform/graphics/MediaPlayer.h: 10 * platform/graphics/qt/MediaPlayerPrivateQt.cpp: 11 (WebCore::MediaPlayerPrivate::platformMedia): 12 * platform/graphics/qt/MediaPlayerPrivateQt.h: 13 1 14 2010-09-08 Zoltan Herczeg <zherczeg@webkit.org> 2 15 -
trunk/WebCore/platform/graphics/MediaPlayer.h
r65077 r66956 71 71 GStreamerGWorldType, 72 72 ChromiumMediaPlayerType, 73 QtMediaPlayerType, 73 74 } type; 74 75 … … 79 80 GStreamerGWorld* gstreamerGWorld; 80 81 MediaPlayerPrivateInterface* chromiumMediaPlayer; 82 MediaPlayerPrivateInterface* qtMediaPlayer; 81 83 } media; 82 84 }; -
trunk/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
r65495 r66956 605 605 #endif 606 606 607 PlatformMedia MediaPlayerPrivate::platformMedia() const 608 { 609 PlatformMedia pm; 610 pm.type = PlatformMedia::QtMediaPlayerType; 611 pm.media.qtMediaPlayer = const_cast<MediaPlayerPrivate*>(this); 612 return pm; 613 } 614 607 615 } // namespace WebCore 608 616 -
trunk/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.h
r65495 r66956 100 100 #endif 101 101 102 virtual PlatformMedia platformMedia() const; 102 103 private slots: 103 104 void mediaStatusChanged(QMediaPlayer::MediaStatus);
Note: See TracChangeset
for help on using the changeset viewer.