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

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: No headers for named constructor attributes 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // Limited value attributes and enumerated attributes 192 // Limited value attributes and enumerated attributes
193 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e; 193 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e;
194 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl yAttribute; 194 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl yAttribute;
195 [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT oOnlyOtherAttribute; 195 [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT oOnlyOtherAttribute;
196 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute; 196 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute;
197 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; 197 [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 ; 198 [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; 199 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty=" empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D OMString limitedWithEmptyMissingInvalidAttribute;
200 200
201 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 201 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
202 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble;
202 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 203 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
204 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
203 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 205 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
204 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute; 206 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute;
205 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 207 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
206 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types 208 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types
207 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute; 209 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute;
208 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 210 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
209 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 211 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
210 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 212 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
211 [Reflect, URL] attribute DOMString urlStringAttribute; 213 [Reflect, URL] attribute DOMString urlStringAttribute;
212 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 214 [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); 431 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg);
430 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); 432 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
431 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); 433 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
432 [Unforgeable] void unforgeableVoidMethod(); 434 [Unforgeable] void unforgeableVoidMethod();
433 435
434 // Extended attributes on referenced interfaces 436 // Extended attributes on referenced interfaces
435 // (not self; self-reference tests at interface themselves) 437 // (not self; self-reference tests at interface themselves)
436 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA s] 438 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA s]
437 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedAttrib ute; // [GarbageCollected] 439 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedAttrib ute; // [GarbageCollected]
438 }; 440 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698