Index: core/css/MediaQueryListEvent.idl |
diff --git a/modules/push_messaging/PushEvent.idl b/core/css/MediaQueryListEvent.idl |
similarity index 58% |
copy from modules/push_messaging/PushEvent.idl |
copy to core/css/MediaQueryListEvent.idl |
index a6a03ff8d7895445e68bfcec475fc5db9afcf71d..2376a4fe998388d1431749e5831b047b5b74ea04 100644 |
--- a/modules/push_messaging/PushEvent.idl |
+++ b/core/css/MediaQueryListEvent.idl |
@@ -2,9 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+ |
+// http://dev.w3.org/csswg/cssom-view/#mediaquerylistevent |
[ |
EventConstructor, |
- RuntimeEnabled=PushMessaging, |
-] interface PushEvent : Event { |
- [InitializedByEventConstructor] readonly attribute DOMString data; |
+] interface MediaQueryListEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute DOMString media; |
+ [InitializedByEventConstructor] readonly attribute boolean matches; |
}; |