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

Unified Diff: third_party/WebKit/Source/modules/media_controls/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/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_;
};

Powered by Google App Engine
This is Rietveld 408576698