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

Unified Diff: core/css/CSSVariablesMap.idl

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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/CSSValueList.idl ('k') | core/css/FontLoader.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/css/CSSVariablesMap.idl
diff --git a/core/dom/PromiseResolver.idl b/core/css/CSSVariablesMap.idl
similarity index 82%
copy from core/dom/PromiseResolver.idl
copy to core/css/CSSVariablesMap.idl
index 86fe30751c847623f955f1eece26482ceeb11e4a..b6ab78a0cb1c96056c8698e58cdd4e225dddabb8 100644
--- a/core/dom/PromiseResolver.idl
+++ b/core/css/CSSVariablesMap.idl
@@ -11,9 +11,6 @@
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
- * * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -28,7 +25,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- EnabledAtRuntime=promise
-] interface PromiseResolver {
+interface CSSVariablesMap {
+ readonly attribute unsigned long size;
+ DOMString get(DOMString name);
+ boolean has(DOMString name);
+ [RaisesException] void set(DOMString name, DOMString value);
+ [ImplementedAs=remove] boolean delete(DOMString name);
+ [RaisesException] void clear();
};
« no previous file with comments | « core/css/CSSValueList.idl ('k') | core/css/FontLoader.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698