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

Unified Diff: Source/core/events/EventTarget.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/events/EventTarget.h
diff --git a/Source/core/events/EventTarget.h b/Source/core/events/EventTarget.h
index 1e60b32ba223eda981d840caf7b50b73e5f578d8..9e68b06f25784fb1175b2ec54231bdb5f9fea2f3 100644
--- a/Source/core/events/EventTarget.h
+++ b/Source/core/events/EventTarget.h
@@ -139,6 +139,8 @@ public:
virtual void trace(Visitor*) { }
+ virtual bool keepEventInShadowDOM(Event*) { return false; };
+
protected:
EventTarget();
virtual ~EventTarget();

Powered by Google App Engine
This is Rietveld 408576698