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

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

Issue 21006006: Add forEach() to CSSVariablesMap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Generator & test nits 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
Index: Source/core/css/CSSVariablesMapForEachCallback.idl
diff --git a/Source/modules/webmidi/MIDIErrorCallback.idl b/Source/core/css/CSSVariablesMapForEachCallback.idl
similarity index 83%
copy from Source/modules/webmidi/MIDIErrorCallback.idl
copy to Source/core/css/CSSVariablesMapForEachCallback.idl
index 0591bf6715e14bf85426c3cfb82fc2aedf25918d..d66eb619ffbc2fd24a7e64cb57491a19bbfd3c36 100644
--- a/Source/modules/webmidi/MIDIErrorCallback.idl
+++ b/Source/core/css/CSSVariablesMapForEachCallback.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,6 +25,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface MIDIErrorCallback {
- boolean handleEvent(DOMError error);
+callback interface CSSVariablesMapForEachCallback {
+ [CallWith=ThisValue] boolean handleItem(DOMString value, DOMString name, CSSVariablesMap map);
+ boolean handleItem(DOMString value, DOMString name, CSSVariablesMap map);
};

Powered by Google App Engine
This is Rietveld 408576698