| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 String canPlayType(const String& mimeType, const String& keySystem = String(
), const KURL& = KURL()) const; | 117 String canPlayType(const String& mimeType, const String& keySystem = String(
), const KURL& = KURL()) const; |
| 118 | 118 |
| 119 // ready state | 119 // ready state |
| 120 ReadyState readyState() const; | 120 ReadyState readyState() const; |
| 121 bool seeking() const; | 121 bool seeking() const; |
| 122 | 122 |
| 123 // playback state | 123 // playback state |
| 124 double currentTime() const; | 124 double currentTime() const; |
| 125 void setCurrentTime(double, ExceptionState&); | 125 void setCurrentTime(double, ExceptionState&); |
| 126 double initialTime() const; | 126 double initialTime() const; |
| 127 double startTime() const; | |
| 128 double duration() const; | 127 double duration() const; |
| 129 bool paused() const; | 128 bool paused() const; |
| 130 double defaultPlaybackRate() const; | 129 double defaultPlaybackRate() const; |
| 131 void setDefaultPlaybackRate(double); | 130 void setDefaultPlaybackRate(double); |
| 132 double playbackRate() const; | 131 double playbackRate() const; |
| 133 void setPlaybackRate(double); | 132 void setPlaybackRate(double); |
| 134 void updatePlaybackRate(); | 133 void updatePlaybackRate(); |
| 135 PassRefPtr<TimeRanges> played(); | 134 PassRefPtr<TimeRanges> played(); |
| 136 PassRefPtr<TimeRanges> seekable() const; | 135 PassRefPtr<TimeRanges> seekable() const; |
| 137 bool ended() const; | 136 bool ended() const; |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 601 |
| 603 inline HTMLMediaElement* toHTMLMediaElement(Node* node) | 602 inline HTMLMediaElement* toHTMLMediaElement(Node* node) |
| 604 { | 603 { |
| 605 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLMediaElement(node)); | 604 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLMediaElement(node)); |
| 606 return static_cast<HTMLMediaElement*>(node); | 605 return static_cast<HTMLMediaElement*>(node); |
| 607 } | 606 } |
| 608 | 607 |
| 609 } //namespace | 608 } //namespace |
| 610 | 609 |
| 611 #endif | 610 #endif |
| OLD | NEW |