| Index: third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h b/third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h
|
| deleted file mode 100644
|
| index 4eac5a2d8ed803e59a8994e4de767203adfa99b8..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h
|
| +++ /dev/null
|
| @@ -1,44 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef MediaControlsWindowEventListener_h
|
| -#define MediaControlsWindowEventListener_h
|
| -
|
| -#include "core/CoreExport.h"
|
| -#include "core/events/EventListener.h"
|
| -#include "wtf/Functional.h"
|
| -
|
| -namespace blink {
|
| -
|
| -class MediaControls;
|
| -
|
| -class CORE_EXPORT MediaControlsWindowEventListener final
|
| - : public EventListener {
|
| - public:
|
| - using Callback = Function<void(), WTF::SameThreadAffinity>;
|
| -
|
| - static MediaControlsWindowEventListener* create(MediaControls*,
|
| - std::unique_ptr<Callback>);
|
| -
|
| - bool operator==(const EventListener&) const override;
|
| -
|
| - void start();
|
| - void stop();
|
| -
|
| - DECLARE_VIRTUAL_TRACE();
|
| -
|
| - private:
|
| - explicit MediaControlsWindowEventListener(MediaControls*,
|
| - std::unique_ptr<Callback>);
|
| -
|
| - void handleEvent(ExecutionContext*, Event*) override;
|
| -
|
| - Member<MediaControls> m_mediaControls;
|
| - std::unique_ptr<Callback> m_callback;
|
| - bool m_isActive;
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif // MediaControlsWindowEventListener_h
|
|
|