Changeset 94787 in webkit
- Timestamp:
- Sep 8, 2011 1:19:34 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r94785 r94787 1 2011-09-08 Eric Carlson <eric.carlson@apple.com> 2 3 HTMLMediaElement is missing initialTime attribute 4 https://bugs.webkit.org/show_bug.cgi?id=67791 5 6 Reviewed by Darin Adler. 7 8 * media/media-initialTime-expected.txt: Added. 9 * media/media-initialTime.html: Added. 10 1 11 2011-09-03 Robert Hogan <robert@webkit.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r94785 r94787 1 2011-09-08 Eric Carlson <eric.carlson@apple.com> 2 3 HTMLMediaElement is missing initialTime attribute 4 https://bugs.webkit.org/show_bug.cgi?id=67791 5 6 Reviewed by Darin Adler. 7 8 Test: media/media-initialTime.html 9 10 * html/HTMLMediaElement.cpp: 11 (WebCore::HTMLMediaElement::initialTime): 12 * html/HTMLMediaElement.h: 13 * html/HTMLMediaElement.idl: 14 * platform/graphics/MediaPlayer.cpp: 15 (WebCore::MediaPlayer::initialTime): 16 * platform/graphics/MediaPlayer.h: 17 * platform/graphics/MediaPlayerPrivate.h: 18 (WebCore::MediaPlayerPrivateInterface::initialTime): 19 1 20 2011-09-03 Robert Hogan <robert@webkit.org> 2 21 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r94608 r94787 1473 1473 } 1474 1474 1475 double HTMLMediaElement::initialTime() const 1476 { 1477 if (!m_player) 1478 return 0; 1479 return m_player->initialTime(); 1480 } 1481 1475 1482 float HTMLMediaElement::duration() const 1476 1483 { -
trunk/Source/WebCore/html/HTMLMediaElement.h
r94406 r94787 112 112 float currentTime() const; 113 113 void setCurrentTime(float, ExceptionCode&); 114 double initialTime() const; 114 115 float startTime() const; 115 116 float duration() const; -
trunk/Source/WebCore/html/HTMLMediaElement.idl
r94590 r94787 61 61 attribute float currentTime 62 62 setter raises (DOMException); 63 readonly attribute double initialTime; 63 64 readonly attribute float startTime; 64 65 readonly attribute float duration; -
trunk/Source/WebCore/platform/graphics/MediaPlayer.cpp
r94121 r94787 460 460 } 461 461 462 double MediaPlayer::initialTime() const 463 { 464 return m_private->initialTime(); 465 } 466 462 467 float MediaPlayer::currentTime() const 463 468 { -
trunk/Source/WebCore/platform/graphics/MediaPlayer.h
r94121 r94787 235 235 float startTime() const; 236 236 237 double initialTime() const; 238 237 239 float rate() const; 238 240 void setRate(float); -
trunk/Source/WebCore/platform/graphics/MediaPlayerPrivate.h
r94121 r94787 72 72 73 73 virtual float startTime() const { return 0; } 74 75 virtual double initialTime() const { return 0; } 74 76 75 77 virtual void setRate(float) = 0;
Note: See TracChangeset
for help on using the changeset viewer.