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

Unified Diff: Source/core/html/shadow/MediaControlElements.h

Issue 406213002: If the media controls are visible they should always grab clicks (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test added - now looking for LGTM or detailed comments. Created 6 years, 5 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: Source/core/html/shadow/MediaControlElements.h
diff --git a/Source/core/html/shadow/MediaControlElements.h b/Source/core/html/shadow/MediaControlElements.h
index 0b3fe71350fdfe482c9c8fe72b7816bc0de81745..af73ce132a147a93f7130bbc7d918c0138a93e67 100644
--- a/Source/core/html/shadow/MediaControlElements.h
+++ b/Source/core/html/shadow/MediaControlElements.h
@@ -54,6 +54,7 @@ private:
void startTimer();
void stopTimer();
void transitionTimerFired(Timer<MediaControlPanelElement>*);
+ virtual bool keepEventInShadowDOM(Event*) OVERRIDE;
bool m_isDisplayed;
bool m_opaque;
@@ -128,6 +129,7 @@ private:
virtual const AtomicString& shadowPseudoId() const OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE;
+ virtual bool keepEventInShadowDOM(Event*) OVERRIDE;
acolwell GONE FROM CHROMIUM 2014/07/29 16:23:26 Perhaps I'm misunderstanding something. Why can't
aberent 2014/07/31 10:52:47 Unfortunately, to support the overlay play button,
};
// ----------------------------
@@ -165,6 +167,7 @@ private:
virtual const AtomicString& shadowPseudoId() const OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE;
+ virtual bool keepEventInShadowDOM(Event*) OVERRIDE;
};
// ----------------------------
@@ -199,6 +202,7 @@ private:
virtual const AtomicString& shadowPseudoId() const OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE;
+ virtual bool keepEventInShadowDOM(Event*) OVERRIDE;
};
// ----------------------------

Powered by Google App Engine
This is Rietveld 408576698