OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "core/html/media/MediaControls.h" |
| 6 |
| 7 #include "core/html/HTMLMediaElement.h" |
| 8 |
| 9 namespace blink { |
| 10 |
| 11 MediaControls::MediaControls(HTMLMediaElement& mediaElement) |
| 12 : m_mediaElement(&mediaElement) {} |
| 13 |
| 14 HTMLMediaElement& MediaControls::mediaElement() const { |
| 15 return *m_mediaElement; |
| 16 } |
| 17 |
| 18 DEFINE_TRACE(MediaControls) { |
| 19 visitor->trace(m_mediaElement); |
| 20 } |
| 21 |
| 22 } // namespace blink |
OLD | NEW |