| 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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 Timer<HTMLMediaElement> m_progressEventTimer; | 477 Timer<HTMLMediaElement> m_progressEventTimer; |
| 478 Timer<HTMLMediaElement> m_playbackProgressTimer; | 478 Timer<HTMLMediaElement> m_playbackProgressTimer; |
| 479 Timer<HTMLMediaElement> m_audioTracksTimer; | 479 Timer<HTMLMediaElement> m_audioTracksTimer; |
| 480 RefPtrWillBeMember<TimeRanges> m_playedTimeRanges; | 480 RefPtrWillBeMember<TimeRanges> m_playedTimeRanges; |
| 481 OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue; | 481 OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue; |
| 482 | 482 |
| 483 double m_playbackRate; | 483 double m_playbackRate; |
| 484 double m_defaultPlaybackRate; | 484 double m_defaultPlaybackRate; |
| 485 NetworkState m_networkState; | 485 NetworkState m_networkState; |
| 486 ReadyState m_readyState; | 486 ReadyState m_readyState; |
| 487 ReadyState m_readyStateMaximum; | |
| 488 KURL m_currentSrc; | 487 KURL m_currentSrc; |
| 489 | 488 |
| 490 RefPtrWillBeMember<MediaError> m_error; | 489 RefPtrWillBeMember<MediaError> m_error; |
| 491 | 490 |
| 492 double m_volume; | 491 double m_volume; |
| 493 double m_lastSeekTime; | 492 double m_lastSeekTime; |
| 494 | 493 |
| 495 double m_previousProgressTime; | 494 double m_previousProgressTime; |
| 496 | 495 |
| 497 // Cached duration to suppress duplicate events if duration unchanged. | 496 // Cached duration to suppress duplicate events if duration unchanged. |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 inline bool isHTMLMediaElement(const HTMLElement& element) | 628 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 630 { | 629 { |
| 631 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 630 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 632 } | 631 } |
| 633 | 632 |
| 634 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 633 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 635 | 634 |
| 636 } // namespace blink | 635 } // namespace blink |
| 637 | 636 |
| 638 #endif // HTMLMediaElement_h | 637 #endif // HTMLMediaElement_h |
| OLD | NEW |