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

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

Issue 809613008: Expose MediaQueryList interface and make arguments non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minimize Created 6 years 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/MediaQueryList.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQueryList.idl
diff --git a/Source/core/css/MediaQueryList.idl b/Source/core/css/MediaQueryList.idl
index 270266740575870d67dd3c8c607642ba808578ee..691f804df70776b4a963bdc53affe7d632655f59 100644
--- a/Source/core/css/MediaQueryList.idl
+++ b/Source/core/css/MediaQueryList.idl
@@ -20,7 +20,6 @@
// http://dev.w3.org/csswg/cssom-view/#mediaquerylist
[
ActiveDOMObject,
- NoInterfaceObject,
] interface MediaQueryList : EventTarget {
readonly attribute DOMString media;
readonly attribute boolean matches;
@@ -29,8 +28,8 @@
// exist as aliases for addEventListener for backwards compatibility
// with older versions of this interface. See the note at
// http://dev.w3.org/csswg/cssom-view/#dom-mediaquerylist-removelistener
- [ImplementedAs=addDeprecatedListener] void addListener([Default=Undefined] optional EventListener listener);
- [ImplementedAs=removeDeprecatedListener]void removeListener([Default=Undefined] optional EventListener listener);
+ [ImplementedAs=addDeprecatedListener] void addListener(EventListener? listener);
+ [ImplementedAs=removeDeprecatedListener]void removeListener(EventListener? listener);
attribute EventHandler onchange;
};
« no previous file with comments | « Source/core/css/MediaQueryList.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698