Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlsWindowEventListener.h

Issue 2802133002: Move MediaControlsWindowEventListener to modules/media_controls/. (Closed)
Patch Set: rebase after blink rename Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 652c8c7db249bae7ab68cc400f145dbbe99ceca6..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::kSameThreadAffinity>;
-
- 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> media_controls_;
- std::unique_ptr<Callback> callback_;
- bool is_active_;
-};
-
-} // namespace blink
-
-#endif // MediaControlsWindowEventListener_h

Powered by Google App Engine
This is Rietveld 408576698