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

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

Issue 2805013003: Move MediaControlsMediaEventListener to modules/media_controls/. (Closed)
Patch Set: rebase after blink renaming 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/MediaControlsMediaEventListener.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h b/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h
deleted file mode 100644
index 42e7cbfa1a56dfd48fcb8f4e914ff71db8b6039c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h
+++ /dev/null
@@ -1,43 +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 MediaControlsMediaEventListener_h
-#define MediaControlsMediaEventListener_h
-
-#include "core/CoreExport.h"
-#include "core/events/EventListener.h"
-
-namespace blink {
-
-class HTMLMediaElement;
-class MediaControls;
-
-class CORE_EXPORT 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();
-
- private:
- HTMLMediaElement& MediaElement();
-
- void handleEvent(ExecutionContext*, Event*) override;
-
- Member<MediaControls> media_controls_;
-};
-
-} // namespace blink
-
-#endif // MediaControlsMediaEventListener_h

Powered by Google App Engine
This is Rietveld 408576698