| Index: third_party/WebKit/Source/modules/media_controls/MediaControlsWindowEventListener.h
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h b/third_party/WebKit/Source/modules/media_controls/MediaControlsWindowEventListener.h
|
| similarity index 74%
|
| rename from third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h
|
| rename to third_party/WebKit/Source/modules/media_controls/MediaControlsWindowEventListener.h
|
| index 652c8c7db249bae7ab68cc400f145dbbe99ceca6..25b68cf214c0ebea0d148cc84c042bf9f7c15907 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h
|
| +++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsWindowEventListener.h
|
| @@ -5,20 +5,18 @@
|
| #ifndef MediaControlsWindowEventListener_h
|
| #define MediaControlsWindowEventListener_h
|
|
|
| -#include "core/CoreExport.h"
|
| #include "core/events/EventListener.h"
|
| #include "wtf/Functional.h"
|
|
|
| namespace blink {
|
|
|
| -class MediaControls;
|
| +class MediaControlsImpl;
|
|
|
| -class CORE_EXPORT MediaControlsWindowEventListener final
|
| - : public EventListener {
|
| +class MediaControlsWindowEventListener final : public EventListener {
|
| public:
|
| using Callback = Function<void(), WTF::kSameThreadAffinity>;
|
|
|
| - static MediaControlsWindowEventListener* Create(MediaControls*,
|
| + static MediaControlsWindowEventListener* Create(MediaControlsImpl*,
|
| std::unique_ptr<Callback>);
|
|
|
| bool operator==(const EventListener&) const override;
|
| @@ -29,12 +27,12 @@ class CORE_EXPORT MediaControlsWindowEventListener final
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - explicit MediaControlsWindowEventListener(MediaControls*,
|
| + explicit MediaControlsWindowEventListener(MediaControlsImpl*,
|
| std::unique_ptr<Callback>);
|
|
|
| void handleEvent(ExecutionContext*, Event*) override;
|
|
|
| - Member<MediaControls> media_controls_;
|
| + Member<MediaControlsImpl> media_controls_;
|
| std::unique_ptr<Callback> callback_;
|
| bool is_active_;
|
| };
|
|
|