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

Side by Side Diff: Source/bindings/tests/idls/TestObjectPython.idl

Issue 140663012: IDL compiler: Window-specific code + Window-only features (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute; 154 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute;
155 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; 155 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute;
156 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp lementedAsLongAttribute; 156 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp lementedAsLongAttribute;
157 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customGetterImplementedAsLongAttribute; 157 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customGetterImplementedAsLongAttribute;
158 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customSetterImplementedAsLongAttribute; 158 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customSetterImplementedAsLongAttribute;
159 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; 159 [MeasureAs=TestFeature] attribute long measureAsLongAttribute;
160 [NotEnumerable] attribute long notEnumerableLongAttribute; 160 [NotEnumerable] attribute long notEnumerableLongAttribute;
161 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut e; 161 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut e;
162 [PerWorldBindings] attribute long perWorldBindingsLongAttribute; 162 [PerWorldBindings] attribute long perWorldBindingsLongAttribute;
163 [PerWorldBindings] readonly attribute long perWorldBindingsReadonlyLongAttri bute; // Separate read only attribute to check attribute configuration 163 [PerWorldBindings] readonly attribute long perWorldBindingsReadonlyLongAttri bute; // Separate read only attribute to check attribute configuration
164 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea donlyTestInterfaceEmptyAttribute;
164 [ActivityLogging=ForAllWorlds, PerWorldBindings] attribute long activityLogg ingAccessPerWorldBindingsLongAttribute; 165 [ActivityLogging=ForAllWorlds, PerWorldBindings] attribute long activityLogg ingAccessPerWorldBindingsLongAttribute;
165 [ActivityLogging=ForIsolatedWorlds, PerWorldBindings] attribute long activit yLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute; 166 [ActivityLogging=ForIsolatedWorlds, PerWorldBindings] attribute long activit yLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute;
166 [ActivityLogging=GetterForAllWorlds, PerWorldBindings] attribute long activi tyLoggingGetterPerWorldBindingsLongAttribute; 167 [ActivityLogging=GetterForAllWorlds, PerWorldBindings] attribute long activi tyLoggingGetterPerWorldBindingsLongAttribute;
167 [ActivityLogging=GetterForIsolatedWorlds, PerWorldBindings] attribute long a ctivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute; 168 [ActivityLogging=GetterForIsolatedWorlds, PerWorldBindings] attribute long a ctivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute;
168 [PutForwards=href] readonly attribute TestNode location; 169 [PutForwards=href] readonly attribute TestNode location;
169 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; 170 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException;
170 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; 171 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith;
171 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings; 172 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings;
172 [RaisesException] attribute long raisesExceptionLongAttribute; 173 [RaisesException] attribute long raisesExceptionLongAttribute;
173 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute; 174 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute;
(...skipping 18 matching lines...) Expand all
192 // Limited value attributes and enumerated attributes 193 // Limited value attributes and enumerated attributes
193 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e; 194 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e;
194 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl yAttribute; 195 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl yAttribute;
195 [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT oOnlyOtherAttribute; 196 [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT oOnlyOtherAttribute;
196 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute; 197 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute;
197 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; 198 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
198 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous ", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute ; 199 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous ", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute ;
199 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty=" empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D OMString limitedWithEmptyMissingInvalidAttribute; 200 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty=" empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D OMString limitedWithEmptyMissingInvalidAttribute;
200 201
201 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 202 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
203 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble;
202 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 204 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
205 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
203 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 206 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
204 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute; 207 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute;
205 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 208 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
206 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types 209 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types
207 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute; 210 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute;
208 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 211 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
209 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 212 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
210 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 213 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
211 [Reflect, URL] attribute DOMString urlStringAttribute; 214 [Reflect, URL] attribute DOMString urlStringAttribute;
212 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 215 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg); 432 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg);
430 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); 433 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
431 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); 434 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
432 [Unforgeable] void unforgeableVoidMethod(); 435 [Unforgeable] void unforgeableVoidMethod();
433 436
434 // Extended attributes on referenced interfaces 437 // Extended attributes on referenced interfaces
435 // (not self; self-reference tests at interface themselves) 438 // (not self; self-reference tests at interface themselves)
436 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA s] 439 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA s]
437 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedAttrib ute; // [GarbageCollected] 440 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedAttrib ute; // [GarbageCollected]
438 }; 441 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestInterfacePython.idl ('k') | Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698