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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 bool m_processingPreferenceChange : 1; | 570 bool m_processingPreferenceChange : 1; |
571 double m_lastTextTrackUpdateTime; | 571 double m_lastTextTrackUpdateTime; |
572 | 572 |
573 RefPtr<TextTrackList> m_textTracks; | 573 RefPtr<TextTrackList> m_textTracks; |
574 Vector<RefPtr<TextTrack> > m_textTracksWhenResourceSelectionBegan; | 574 Vector<RefPtr<TextTrack> > m_textTracksWhenResourceSelectionBegan; |
575 | 575 |
576 CueIntervalTree m_cueTree; | 576 CueIntervalTree m_cueTree; |
577 | 577 |
578 CueList m_currentlyActiveCues; | 578 CueList m_currentlyActiveCues; |
579 int m_ignoreTrackDisplayUpdate; | 579 int m_ignoreTrackDisplayUpdate; |
| 580 bool m_inDestructor; |
580 | 581 |
581 #if ENABLE(WEB_AUDIO) | 582 #if ENABLE(WEB_AUDIO) |
582 // This is a weak reference, since m_audioSourceNode holds a reference to us
. | 583 // This is a weak reference, since m_audioSourceNode holds a reference to us
. |
583 // The value is set just after the MediaElementAudioSourceNode is created. | 584 // The value is set just after the MediaElementAudioSourceNode is created. |
584 // The value is cleared in MediaElementAudioSourceNode::~MediaElementAudioSo
urceNode(). | 585 // The value is cleared in MediaElementAudioSourceNode::~MediaElementAudioSo
urceNode(). |
585 MediaElementAudioSourceNode* m_audioSourceNode; | 586 MediaElementAudioSourceNode* m_audioSourceNode; |
586 #endif | 587 #endif |
587 | 588 |
588 String m_mediaGroup; | 589 String m_mediaGroup; |
589 friend class MediaController; | 590 friend class MediaController; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 623 |
623 inline HTMLMediaElement* toMediaElement(Node* node) | 624 inline HTMLMediaElement* toMediaElement(Node* node) |
624 { | 625 { |
625 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); | 626 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); |
626 return static_cast<HTMLMediaElement*>(node); | 627 return static_cast<HTMLMediaElement*>(node); |
627 } | 628 } |
628 | 629 |
629 } //namespace | 630 } //namespace |
630 | 631 |
631 #endif | 632 #endif |
OLD | NEW |