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

Unified Diff: third_party/WebKit/Source/core/html/MediaCustomControlsFullscreenDetector.h

Issue 2758233003: Fix the conditions when fullscreen detector listeners are registered (Closed)
Patch Set: addressed mlamouri's comments Created 3 years, 9 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/MediaCustomControlsFullscreenDetector.h
diff --git a/third_party/WebKit/Source/core/html/MediaCustomControlsFullscreenDetector.h b/third_party/WebKit/Source/core/html/MediaCustomControlsFullscreenDetector.h
index 316c74bea0d43c8a5f5370321da3e80f041c6ba5..4ef096f1d8291421e8a733321660d8275573956f 100644
--- a/third_party/WebKit/Source/core/html/MediaCustomControlsFullscreenDetector.h
+++ b/third_party/WebKit/Source/core/html/MediaCustomControlsFullscreenDetector.h
@@ -25,6 +25,8 @@ class CORE_EXPORT MediaCustomControlsFullscreenDetector final
// EventListener implementation.
bool operator==(const EventListener&) const override;
+ void attach();
+ void detach();
void contextDestroyed();
DECLARE_VIRTUAL_TRACE();
@@ -36,9 +38,6 @@ class CORE_EXPORT MediaCustomControlsFullscreenDetector final
// EventListener implementation.
void handleEvent(ExecutionContext*, Event*) override;
- void attach();
- void detach();
-
HTMLVideoElement& videoElement() { return *m_videoElement; }
void onCheckViewportIntersectionTimerFired(TimerBase*);

Powered by Google App Engine
This is Rietveld 408576698