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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 #if ENABLE(WEB_AUDIO) | 513 #if ENABLE(WEB_AUDIO) |
514 // This is a weak reference, since m_audioSourceNode holds a reference to us
. | 514 // This is a weak reference, since m_audioSourceNode holds a reference to us
. |
515 // The value is set just after the MediaElementAudioSourceNode is created. | 515 // The value is set just after the MediaElementAudioSourceNode is created. |
516 // The value is cleared in MediaElementAudioSourceNode::~MediaElementAudioSo
urceNode(). | 516 // The value is cleared in MediaElementAudioSourceNode::~MediaElementAudioSo
urceNode(). |
517 MediaElementAudioSourceNode* m_audioSourceNode; | 517 MediaElementAudioSourceNode* m_audioSourceNode; |
518 #endif | 518 #endif |
519 | 519 |
520 friend class MediaController; | 520 friend class MediaController; |
521 RefPtr<MediaController> m_mediaController; | 521 RefPtr<MediaController> m_mediaController; |
522 | 522 |
| 523 friend class Internals; |
523 friend class TrackDisplayUpdateScope; | 524 friend class TrackDisplayUpdateScope; |
524 | 525 |
525 static URLRegistry* s_mediaStreamRegistry; | 526 static URLRegistry* s_mediaStreamRegistry; |
526 }; | 527 }; |
527 | 528 |
528 #ifndef NDEBUG | 529 #ifndef NDEBUG |
529 // Template specializations required by PodIntervalTree in debug mode. | 530 // Template specializations required by PodIntervalTree in debug mode. |
530 template <> | 531 template <> |
531 struct ValueToString<double> { | 532 struct ValueToString<double> { |
532 static String string(const double value) | 533 static String string(const double value) |
(...skipping 19 matching lines...) Expand all Loading... |
552 inline bool isHTMLMediaElement(const HTMLElement& element) | 553 inline bool isHTMLMediaElement(const HTMLElement& element) |
553 { | 554 { |
554 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 555 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
555 } | 556 } |
556 | 557 |
557 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 558 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
558 | 559 |
559 } //namespace | 560 } //namespace |
560 | 561 |
561 #endif | 562 #endif |
OLD | NEW |