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

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

Issue 282263007: Fix bindings when using [CachedAttribute] on Array. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@language_change_tests
Patch Set: review comments Created 6 years, 7 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
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 static attribute DOMString staticStringAttribute; 152 static attribute DOMString staticStringAttribute;
153 static attribute long staticLongAttribute; 153 static attribute long staticLongAttribute;
154 // Exceptional type 154 // Exceptional type
155 attribute EventHandler eventHandlerAttribute; 155 attribute EventHandler eventHandlerAttribute;
156 156
157 // Extended attributes 157 // Extended attributes
158 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds LongAttribute; 158 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds LongAttribute;
159 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF orAllWorldsLongAttribute; 159 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF orAllWorldsLongAttribute;
160 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF orAllWorldsLongAttribute; 160 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF orAllWorldsLongAttribute;
161 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; 161 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
162 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute;
162 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te; 163 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te;
163 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; 164 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute;
164 [CallWith=ExecutionContext|ScriptState] attribute any callWithExecutionConte xtAndScriptStateAnyAttribute; 165 [CallWith=ExecutionContext|ScriptState] attribute any callWithExecutionConte xtAndScriptStateAnyAttribute;
165 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only 166 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only
166 [Conditional=CONDITION] attribute long conditionalLongAttribute; 167 [Conditional=CONDITION] attribute long conditionalLongAttribute;
167 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri bute; 168 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri bute;
168 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute; 169 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute;
169 // Constructors: FIXME: replace suffix with [ConstructorAttribute] 170 // Constructors: FIXME: replace suffix with [ConstructorAttribute]
170 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu te; 171 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu te;
171 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; 172 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 495 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
495 496
496 // Extended attributes on referenced interfaces 497 // Extended attributes on referenced interfaces
497 // (not self; self-reference tests at interface themselves) 498 // (not self; self-reference tests at interface themselves)
498 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 499 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
499 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 500 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
500 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 501 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
501 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 502 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
502 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 503 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
503 }; 504 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/attributes.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698