| 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();
|
| };
|
|
|