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

Unified Diff: third_party/WebCore/css/DOMWindowCSS.idl

Issue 12319151: WebKit IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « third_party/WebCore/css/CSSStyleDeclaration.idl ('k') | third_party/WebCore/css/MediaList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebCore/css/DOMWindowCSS.idl
diff --git a/third_party/WebCore/css/CSSSupportsRule.idl b/third_party/WebCore/css/DOMWindowCSS.idl
similarity index 76%
copy from third_party/WebCore/css/CSSSupportsRule.idl
copy to third_party/WebCore/css/DOMWindowCSS.idl
index c533882d90a106fc69c3c44cea53f01a239a081a..aed4cf7f00f22109e2a49077f3a61a80aeabe4d0 100644
--- a/third_party/WebCore/css/CSSSupportsRule.idl
+++ b/third_party/WebCore/css/DOMWindowCSS.idl
@@ -1,4 +1,5 @@
-/* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved.
+/*
+ * Copyright (C) 2012 Motorola Mobility Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -27,13 +28,12 @@
*/
[
+ InterfaceName=CSS,
Conditional=CSS3_CONDITIONAL_RULES
-] interface CSSSupportsRule : CSSRule {
- readonly attribute CSSRuleList cssRules;
- readonly attribute DOMString conditionText;
+] interface DOMWindowCSS {
+
+ boolean supports(DOMString property, DOMString value);
+ boolean supports(DOMString conditionText);
- unsigned long insertRule(in [Optional=DefaultIsUndefined] DOMString rule,
- in [Optional=DefaultIsUndefined] unsigned long index) raises(DOMException);
- void deleteRule(in [Optional=DefaultIsUndefined] unsigned long index) raises(DOMException);
};
« no previous file with comments | « third_party/WebCore/css/CSSStyleDeclaration.idl ('k') | third_party/WebCore/css/MediaList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698