| 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 bool isBlocked() const; | 420 bool isBlocked() const; |
| 421 bool isBlockedOnMediaController() const; | 421 bool isBlockedOnMediaController() const; |
| 422 bool isAutoplaying() const { return m_autoplaying; } | 422 bool isAutoplaying() const { return m_autoplaying; } |
| 423 | 423 |
| 424 blink::WebMediaPlayer::CORSMode corsMode() const; | 424 blink::WebMediaPlayer::CORSMode corsMode() const; |
| 425 | 425 |
| 426 Timer<HTMLMediaElement> m_loadTimer; | 426 Timer<HTMLMediaElement> m_loadTimer; |
| 427 Timer<HTMLMediaElement> m_progressEventTimer; | 427 Timer<HTMLMediaElement> m_progressEventTimer; |
| 428 Timer<HTMLMediaElement> m_playbackProgressTimer; | 428 Timer<HTMLMediaElement> m_playbackProgressTimer; |
| 429 RefPtr<TimeRanges> m_playedTimeRanges; | 429 RefPtr<TimeRanges> m_playedTimeRanges; |
| 430 OwnPtr<GenericEventQueue> m_asyncEventQueue; | 430 OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue; |
| 431 | 431 |
| 432 double m_playbackRate; | 432 double m_playbackRate; |
| 433 double m_defaultPlaybackRate; | 433 double m_defaultPlaybackRate; |
| 434 NetworkState m_networkState; | 434 NetworkState m_networkState; |
| 435 ReadyState m_readyState; | 435 ReadyState m_readyState; |
| 436 ReadyState m_readyStateMaximum; | 436 ReadyState m_readyStateMaximum; |
| 437 KURL m_currentSrc; | 437 KURL m_currentSrc; |
| 438 | 438 |
| 439 RefPtrWillBeMember<MediaError> m_error; | 439 RefPtrWillBeMember<MediaError> m_error; |
| 440 | 440 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 inline bool isHTMLMediaElement(const HTMLElement& element) | 559 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 560 { | 560 { |
| 561 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 561 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 562 } | 562 } |
| 563 | 563 |
| 564 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 564 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 565 | 565 |
| 566 } //namespace | 566 } //namespace |
| 567 | 567 |
| 568 #endif | 568 #endif |
| OLD | NEW |