| 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 }; | 635 }; |
| 636 | 636 |
| 637 AudioSourceProviderImpl m_audioSourceProvider; | 637 AudioSourceProviderImpl m_audioSourceProvider; |
| 638 | 638 |
| 639 class AutoplayHelperClientImpl; | 639 class AutoplayHelperClientImpl; |
| 640 | 640 |
| 641 friend class Internals; | 641 friend class Internals; |
| 642 friend class TrackDisplayUpdateScope; | 642 friend class TrackDisplayUpdateScope; |
| 643 friend class AutoplayExperimentHelper; | 643 friend class AutoplayExperimentHelper; |
| 644 friend class MediaControlsTest; | 644 friend class MediaControlsTest; |
| 645 friend class HTMLMediaElementTest; |
| 645 | 646 |
| 646 Member<AutoplayExperimentHelper::Client> m_autoplayHelperClient; | 647 Member<AutoplayExperimentHelper::Client> m_autoplayHelperClient; |
| 647 Member<AutoplayExperimentHelper> m_autoplayHelper; | 648 Member<AutoplayExperimentHelper> m_autoplayHelper; |
| 648 | 649 |
| 649 WebRemotePlaybackClient* m_remotePlaybackClient; | 650 WebRemotePlaybackClient* m_remotePlaybackClient; |
| 650 | 651 |
| 651 static URLRegistry* s_mediaStreamRegistry; | 652 static URLRegistry* s_mediaStreamRegistry; |
| 652 }; | 653 }; |
| 653 | 654 |
| 654 inline bool isHTMLMediaElement(const HTMLElement& element) | 655 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 655 { | 656 { |
| 656 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 657 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 657 } | 658 } |
| 658 | 659 |
| 659 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 660 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 660 | 661 |
| 661 } // namespace blink | 662 } // namespace blink |
| 662 | 663 |
| 663 #endif // HTMLMediaElement_h | 664 #endif // HTMLMediaElement_h |
| OLD | NEW |