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

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

Issue 953473002: bindings: Supports [Replaceable] accessors. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 5 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Limited value attributes and enumerated attributes 232 // Limited value attributes and enumerated attributes
233 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e; 233 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e;
234 [Reflect, ReflectOnly=("Per","Paal","Espen")] attribute DOMString limitedToO nlyAttribute; 234 [Reflect, ReflectOnly=("Per","Paal","Espen")] attribute DOMString limitedToO nlyAttribute;
235 [Reflect=other, ReflectOnly=("Value1","Value2")] attribute DOMString limited ToOnlyOtherAttribute; 235 [Reflect=other, ReflectOnly=("Value1","Value2")] attribute DOMString limited ToOnlyOtherAttribute;
236 [Reflect, ReflectOnly=("rsa","dsa"), ReflectMissing="rsa"] attribute DOMStri ng limitedWithMissingDefaultAttribute; 236 [Reflect, ReflectOnly=("rsa","dsa"), ReflectMissing="rsa"] attribute DOMStri ng limitedWithMissingDefaultAttribute;
237 [Reflect, ReflectOnly=("ltr","rtl","auto"), ReflectMissing="auto", ReflectIn valid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; 237 [Reflect, ReflectOnly=("ltr","rtl","auto"), ReflectMissing="auto", ReflectIn valid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
238 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu te; 238 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu te;
239 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty ="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute DOMString limitedWithEmptyMissingInvalidAttribute; 239 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty ="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute DOMString limitedWithEmptyMissingInvalidAttribute;
240 240
241 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 241 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
242 [Replaceable, ExposeJSAccessors] readonly attribute long replaceableReadonly LongAccessor;
242 [PutForwards=href] readonly attribute TestNode locationPutForwards; 243 [PutForwards=href] readonly attribute TestNode locationPutForwards;
243 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 244 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
244 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute; 245 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
245 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 246 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
246 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi thActiveWindowAndFirstWindowStringAttribute; 247 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi thActiveWindowAndFirstWindowStringAttribute;
247 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 248 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
248 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute; 249 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute;
249 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 250 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
250 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 251 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
251 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 252 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 581 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
581 [ImplementedInPrivateScript] attribute Node nodeAttribute; 582 [ImplementedInPrivateScript] attribute Node nodeAttribute;
582 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 583 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
583 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 584 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
584 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 585 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
585 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 586 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
586 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 587 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
587 588
588 maplike<long, DOMStringOrDouble>; 589 maplike<long, DOMStringOrDouble>;
589 }; 590 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698