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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 DeferredLoadState m_deferredLoadState; | 517 DeferredLoadState m_deferredLoadState; |
518 Timer<HTMLMediaElement> m_deferredLoadTimer; | 518 Timer<HTMLMediaElement> m_deferredLoadTimer; |
519 | 519 |
520 OwnPtr<MediaPlayer> m_player; | 520 OwnPtr<MediaPlayer> m_player; |
521 blink::WebLayer* m_webLayer; | 521 blink::WebLayer* m_webLayer; |
522 | 522 |
523 MediaPlayer::Preload m_preload; | 523 MediaPlayer::Preload m_preload; |
524 | 524 |
525 DisplayMode m_displayMode; | 525 DisplayMode m_displayMode; |
526 | 526 |
527 RefPtr<HTMLMediaSource> m_mediaSource; | 527 RefPtrWillBeMember<HTMLMediaSource> m_mediaSource; |
528 | 528 |
529 mutable double m_cachedTime; | 529 mutable double m_cachedTime; |
530 mutable double m_cachedTimeWallClockUpdateTime; | 530 mutable double m_cachedTimeWallClockUpdateTime; |
531 mutable double m_minimumWallClockTimeToCacheMediaTime; | 531 mutable double m_minimumWallClockTimeToCacheMediaTime; |
532 | 532 |
533 double m_fragmentStartTime; | 533 double m_fragmentStartTime; |
534 double m_fragmentEndTime; | 534 double m_fragmentEndTime; |
535 | 535 |
536 typedef unsigned PendingActionFlags; | 536 typedef unsigned PendingActionFlags; |
537 PendingActionFlags m_pendingActionFlags; | 537 PendingActionFlags m_pendingActionFlags; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 inline bool isHTMLMediaElement(const HTMLElement& element) | 621 inline bool isHTMLMediaElement(const HTMLElement& element) |
622 { | 622 { |
623 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 623 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
624 } | 624 } |
625 | 625 |
626 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 626 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
627 | 627 |
628 } //namespace | 628 } //namespace |
629 | 629 |
630 #endif | 630 #endif |
OLD | NEW |