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

Unified Diff: bindings/scripts/test/TestObj.idl

Issue 12893011: Update idl files in third_party/WebCore (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 9 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: bindings/scripts/test/TestObj.idl
diff --git a/bindings/scripts/test/TestObj.idl b/bindings/scripts/test/TestObj.idl
index 24a0e6c09a386b6bfafdb0dcceba9d2ef2556478..d3f6f2b9853b943bb4ca4dddfe62a143c8cef2c8 100644
--- a/bindings/scripts/test/TestObj.idl
+++ b/bindings/scripts/test/TestObj.idl
@@ -150,6 +150,19 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
static void staticMethodWithCallbackArg(in [Callback] TestCallback callback);
#endif
+#if defined(TESTING_V8)
+ // 'EnforceRange' extended attribute
+ void methodWithEnforceRangeInt32(in [EnforceRange] long value);
+ void methodWithEnforceRangeUInt32(in [EnforceRange] unsigned long value);
+ void methodWithEnforceRangeInt64(in [EnforceRange] long long value);
+ void methodWithEnforceRangeUInt64(in [EnforceRange] unsigned long long value);
+
+ attribute [EnforceRange] long enforcedRangeLongAttr;
+ attribute [EnforceRange] unsigned long enforcedRangeUnsignedLongAttr;
+ attribute [EnforceRange] long long enforcedRangeLongLongAttr;
+ attribute [EnforceRange] unsigned long long enforcedRangeUnsignedLongLongAttr;
+#endif
+
// 'Conditional' extended attribute
[Conditional=Condition1] attribute long conditionalAttr1;
[Conditional=Condition1&Condition2] attribute long conditionalAttr2;
@@ -271,4 +284,15 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
void variadicStringMethod(in DOMString head, in DOMString... tail);
void variadicDoubleMethod(in double head, in double... tail);
void variadicNodeMethod(in Node head, in Node... tail);
+
+ // Nullable attributes.
+ readonly attribute double? nullableDoubleAttribute;
+ readonly attribute long? nullableLongAttribute;
+ readonly attribute boolean? nullableBooleanAttribute;
+ readonly attribute DOMString? nullableStringAttribute;
+
+ attribute long? nullableLongSettableAttribute;
+
+ attribute long? nullableStringValue
+ getter raises(DOMException);
};

Powered by Google App Engine
This is Rietveld 408576698