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

Unified Diff: Source/core/css/MediaQueryListEvent.idl

Issue 396283004: Make the MediaQueryList listener an EventListener (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: argh, forgot a --reset-results 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/css/MediaQueryListEvent.idl
diff --git a/Source/modules/push_messaging/PushEvent.idl b/Source/core/css/MediaQueryListEvent.idl
similarity index 67%
copy from Source/modules/push_messaging/PushEvent.idl
copy to Source/core/css/MediaQueryListEvent.idl
index a6a03ff8d7895445e68bfcec475fc5db9afcf71d..d1476a91eba1713ae1e23ceeca89200024f74c00 100644
--- a/Source/modules/push_messaging/PushEvent.idl
+++ b/Source/core/css/MediaQueryListEvent.idl
@@ -4,7 +4,7 @@
[
EventConstructor,
- RuntimeEnabled=PushMessaging,
-] interface PushEvent : Event {
- [InitializedByEventConstructor] readonly attribute DOMString data;
+] interface MediaQueryListEvent : Event {
+ [InitializedByEventConstructor] readonly attribute DOMString media;
+ [InitializedByEventConstructor] readonly attribute boolean matches;
};

Powered by Google App Engine
This is Rietveld 408576698