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

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

Issue 434133002: Support WebIDL's ExtendedAttributeIdentList in the Blink parser (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 4 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
« no previous file with comments | « Source/bindings/tests/idls/TestNode.idl ('k') | Source/core/dom/MessageChannel.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF orAllWorldsLongAttribute; 160 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF orAllWorldsLongAttribute;
161 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF orAllWorldsLongAttribute; 161 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF orAllWorldsLongAttribute;
162 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; 162 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
163 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; 163 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute;
164 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri bute; 164 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri bute;
165 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te; 165 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te;
166 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; 166 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute;
167 [CallWith=ExecutionContext|ScriptState] attribute any callWithExecutionConte xtAndScriptStateAnyAttribute; 167 [CallWith=ExecutionContext|ScriptState] attribute any callWithExecutionConte xtAndScriptStateAnyAttribute;
168 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only 168 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only
169 [Conditional=CONDITION] attribute long conditionalLongAttribute; 169 [Conditional=CONDITION] attribute long conditionalLongAttribute;
170 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri bute; 170 [Conditional=(CONDITION_1,CONDITION_2)] attribute long conditionalAndLongAtt ribute;
171 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute; 171 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute;
172 // Constructors: FIXME: replace suffix with [ConstructorAttribute] 172 // Constructors: FIXME: replace suffix with [ConstructorAttribute]
173 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu te; 173 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu te;
174 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; 174 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute;
175 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea tureNameTestInterfaceEmptyConstructorAttribute; 175 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea tureNameTestInterfaceEmptyConstructorAttribute;
176 [Custom] attribute object customObjectAttribute; 176 [Custom] attribute object customObjectAttribute;
177 [Custom=Getter] attribute long customGetterLongAttribute; 177 [Custom=Getter] attribute long customGetterLongAttribute;
178 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut e; 178 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut e;
179 [Custom=Setter] attribute long customSetterLongAttribute; 179 [Custom=Setter] attribute long customSetterLongAttribute;
180 [Conditional=CONDITION, Custom] attribute long customLongAttribute; 180 [Conditional=CONDITION, Custom] attribute long customLongAttribute;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute; 229 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute;
230 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; 230 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
231 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous ", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute ; 231 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous ", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute ;
232 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty=" empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D OMString limitedWithEmptyMissingInvalidAttribute; 232 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty=" empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D OMString limitedWithEmptyMissingInvalidAttribute;
233 233
234 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 234 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
235 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble; 235 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble;
236 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 236 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
237 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute; 237 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
238 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 238 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
239 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute; 239 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi thActiveWindowAndFirstWindowStringAttribute;
240 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 240 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
241 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute; 241 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute;
242 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 242 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
243 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 243 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
244 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 244 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
245 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute; 245 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute;
246 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute; 246 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute;
247 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute; 247 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute;
248 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu llStringAsNullScalarValueStringAttribute; 248 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu llStringAsNullScalarValueStringAttribute;
249 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur nedNullStringAsUndefinedScalarValueStringAttribute; 249 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur nedNullStringAsUndefinedScalarValueStringAttribute;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // [TreatNullAs], [TreatUndefinedAs] 453 // [TreatNullAs], [TreatUndefinedAs]
454 void voidMethodTreatNullAsEmptyStringStringArg([TreatNullAs=EmptyString] DOM String treatNullAsEmptyStringStringArg); 454 void voidMethodTreatNullAsEmptyStringStringArg([TreatNullAs=EmptyString] DOM String treatNullAsEmptyStringStringArg);
455 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt ring treatNullAsNullStringStringArg); 455 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt ring treatNullAsNullStringStringArg);
456 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin gStringArg); 456 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin gStringArg);
457 457
458 // Extended attributes for methods 458 // Extended attributes for methods
459 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod(); 459 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod();
460 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); 460 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod();
461 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); 461 [CallWith=ScriptState] void callWithScriptStateVoidMethod();
462 [CallWith=ScriptState] long callWithScriptStateLongMethod(); 462 [CallWith=ScriptState] long callWithScriptStateLongMethod();
463 [CallWith=ScriptState&ExecutionContext] void callWithScriptStateExecutionCon textVoidMethod(); 463 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC ontextVoidMethod();
464 [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgumen tsVoidMethod(); 464 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethod();
465 [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgumen tsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); 465 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg);
466 [CallWith=ActiveWindow] void callWithActiveWindow(); 466 [CallWith=ActiveWindow] void callWithActiveWindow();
467 [CallWith=ActiveWindow&FirstWindow] void callWithActiveWindowScriptWindow(); 467 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow( );
468 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); 468 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod();
469 [Conditional=CONDITION] void conditionalConditionVoidMethod(); 469 [Conditional=CONDITION] void conditionalConditionVoidMethod();
470 [Conditional=CONDITION_1&CONDITION_2] void conditionalCondition1AndCondition 2VoidMethod(); 470 [Conditional=(CONDITION_1,CONDITION_2)] void conditionalCondition1AndConditi on2VoidMethod();
471 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); 471 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod();
472 [Custom] void customVoidMethod(); 472 [Custom] void customVoidMethod();
473 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); 473 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod();
474 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); 474 [CustomElementCallbacks] void customElementCallbacksVoidMethod();
475 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); 475 [DeprecateAs=voidMethod] void deprecatedVoidMethod();
476 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); 476 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod();
477 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); 477 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod();
478 [MeasureAs=TestFeature] void measureAsVoidMethod(); 478 [MeasureAs=TestFeature] void measureAsVoidMethod();
479 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); 479 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod();
480 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); 480 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string); 542 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string);
543 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 543 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
544 [ImplementedInPrivateScript] attribute short shortAttribute; 544 [ImplementedInPrivateScript] attribute short shortAttribute;
545 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 545 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
546 [ImplementedInPrivateScript] attribute Node nodeAttribute; 546 [ImplementedInPrivateScript] attribute Node nodeAttribute;
547 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 547 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
548 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 548 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
549 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 549 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
550 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 550 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
551 }; 551 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestNode.idl ('k') | Source/core/dom/MessageChannel.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698