| Index: third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h b/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h
|
| index cd88cb44e0ed098afd5ae863da541460cb305169..a653202928a911fbff9c5a360805abacc5d87727 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h
|
| @@ -16,6 +16,15 @@ class MediaControlsMediaEventListener final : public EventListener {
|
| public:
|
| explicit MediaControlsMediaEventListener(MediaControls*);
|
|
|
| + // Called by MediaControls when the HTMLMediaElement is added to a document
|
| + // document. All event listeners should be added.
|
| + void attach();
|
| +
|
| + // Called by MediaControls when the HTMLMediaElement is no longer in the
|
| + // document. All event listeners should be removed in order to prepare the
|
| + // object to be garbage collected.
|
| + void detach();
|
| +
|
| bool operator==(const EventListener&) const override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|