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

Unified Diff: core/css/MediaQueryList.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/css/MediaList.idl ('k') | core/css/MediaQueryListEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/css/MediaQueryList.idl
diff --git a/core/css/MediaQueryList.idl b/core/css/MediaQueryList.idl
index cb93f6f8b325533ce01ca96b29b05829b6b9420c..7c1a4af139e70a1245b7a388e6b0d08a87700e07 100644
--- a/core/css/MediaQueryList.idl
+++ b/core/css/MediaQueryList.idl
@@ -17,21 +17,18 @@
* Boston, MA 02110-1301, USA.
*/
-// http://dev.w3.org/csswg/cssom-view/#mediaquerylist
+// http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface
+
[
ActiveDOMObject,
- NoInterfaceObject,
- WillBeGarbageCollected
] interface MediaQueryList : EventTarget {
readonly attribute DOMString media;
readonly attribute boolean matches;
-
// Even though this interface is now an event target, these functions
// 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, Custom=CallEpilogue] void addListener(EventListener? listener);
+ [ImplementedAs=removeDeprecatedListener, Custom=CallEpilogue]void removeListener(EventListener? listener);
attribute EventHandler onchange;
};
« no previous file with comments | « core/css/MediaList.idl ('k') | core/css/MediaQueryListEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698