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

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

Issue 404563003: Add MediaQueryListEvent. Not used yet. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: also need webexposed/global-constructors-listing-expected.txt 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
« no previous file with comments | « Source/core/css/MediaQueryListEvent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQueryListEvent.idl
diff --git a/Source/modules/push_messaging/PushEvent.idl b/Source/core/css/MediaQueryListEvent.idl
similarity index 58%
copy from Source/modules/push_messaging/PushEvent.idl
copy to Source/core/css/MediaQueryListEvent.idl
index a6a03ff8d7895445e68bfcec475fc5db9afcf71d..2376a4fe998388d1431749e5831b047b5b74ea04 100644
--- a/Source/modules/push_messaging/PushEvent.idl
+++ b/Source/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;
};
« no previous file with comments | « Source/core/css/MediaQueryListEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698