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

Unified Diff: bindings/tests/idls/modules/TestInterface5.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/tests/idls/modules/TestInterface5.idl
diff --git a/bindings/tests/idls/modules/TestInterface5.idl b/bindings/tests/idls/modules/TestInterface5.idl
index 72e8535ff3904341ffce5737d63f05826e6ac3e6..d08b7cb7a19fd456482e3d3524fdc1a3065efd39 100644
--- a/bindings/tests/idls/modules/TestInterface5.idl
+++ b/bindings/tests/idls/modules/TestInterface5.idl
@@ -31,16 +31,17 @@
// Test for interface extended attributes and special operations.
// Also used as a target by TestObject
+enum TestEnumModules { "EnumModulesValue1", "EnumModulesValue2" };
+
[
ActiveDOMObject,
Conditional=CONDITION,
- Custom=(LegacyCallAsFunction,ToV8),
+ Custom=LegacyCallAsFunction,
DoNotCheckConstants,
ImplementedAs=TestInterface5Implementation,
- Iterable,
RuntimeEnabled=FeatureName,
SetWrapperReferenceTo(TestInterface5 referencedName),
- TypeChecking=(Interface,Unrestricted),
+ TypeChecking=Interface,
Exposed=(Worker,Window),
] interface TestInterface5 : TestInterfaceEmpty {
// members needed to test [ImplementedAs], as this affect attribute
@@ -88,5 +89,11 @@
[Exposed=Window] attribute long windowExposedAttribute;
[Exposed=(Window,ServiceWorker)] void windowAndServiceWorkerExposedMethod();
+
+ // Union types
+ void voidMethodBooleanOrDOMStringArg((boolean or DOMString) arg);
+ void voidMethodDoubleOrDOMStringArg((double or DOMString) arg);
+
+ iterable<any>;
};
« no previous file with comments | « bindings/tests/idls/core/Uint8ClampedArray.idl ('k') | bindings/tests/idls/modules/TestPartialInterface3.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698