| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 void load(); | 116 void load(); |
| 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; | |
| 127 double duration() const; | 126 double duration() const; |
| 128 bool paused() const; | 127 bool paused() const; |
| 129 double defaultPlaybackRate() const; | 128 double defaultPlaybackRate() const; |
| 130 void setDefaultPlaybackRate(double); | 129 void setDefaultPlaybackRate(double); |
| 131 double playbackRate() const; | 130 double playbackRate() const; |
| 132 void setPlaybackRate(double); | 131 void setPlaybackRate(double); |
| 133 void updatePlaybackRate(); | 132 void updatePlaybackRate(); |
| 134 PassRefPtr<TimeRanges> played(); | 133 PassRefPtr<TimeRanges> played(); |
| 135 PassRefPtr<TimeRanges> seekable() const; | 134 PassRefPtr<TimeRanges> seekable() const; |
| 136 bool ended() const; | 135 bool ended() const; |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 600 |
| 602 inline HTMLMediaElement* toHTMLMediaElement(Node* node) | 601 inline HTMLMediaElement* toHTMLMediaElement(Node* node) |
| 603 { | 602 { |
| 604 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLMediaElement(node)); | 603 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLMediaElement(node)); |
| 605 return static_cast<HTMLMediaElement*>(node); | 604 return static_cast<HTMLMediaElement*>(node); |
| 606 } | 605 } |
| 607 | 606 |
| 608 } //namespace | 607 } //namespace |
| 609 | 608 |
| 610 #endif | 609 #endif |
| OLD | NEW |