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

Unified Diff: Source/core/testing/InternalDictionary.idl

Issue 724733002: Support for [Clamp] and [EnforceRange] to IDL dictionary. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « Source/core/testing/DictionaryTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalDictionary.idl
diff --git a/Source/core/testing/InternalDictionary.idl b/Source/core/testing/InternalDictionary.idl
index fd6724ff8d6cc381b9742ca465abbb31b917351a..b4cddf0f22e21e6019d62092847f621b7eddd4ed 100644
--- a/Source/core/testing/InternalDictionary.idl
+++ b/Source/core/testing/InternalDictionary.idl
@@ -6,6 +6,8 @@ enum InternalEnum { "foo", "bar", "baz" };
dictionary InternalDictionary {
long longMember;
+ [Clamp] long longMemberWithClamp;
+ [EnforceRange] long longMemberWithEnforceRange;
long longMemberWithDefault = 42;
long? longOrNullMember;
long? longOrNullMemberWithDefault = null;
« no previous file with comments | « Source/core/testing/DictionaryTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698