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

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

Issue 877523004: Add extended attribute, [Measure], to simplify use counting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute; 252 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute;
253 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute; 253 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute;
254 [TreatReturnedNullStringAs=Null] attribute USVString treatReturnedNullString AsNullUSVStringAttribute; 254 [TreatReturnedNullStringAs=Null] attribute USVString treatReturnedNullString AsNullUSVStringAttribute;
255 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS tringAsUndefinedUSVStringAttribute; 255 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS tringAsUndefinedUSVStringAttribute;
256 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute ; // nop for non-interface types 256 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute ; // nop for non-interface types
257 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute; 257 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute;
258 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI nterfaceOrNullAttribute; 258 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI nterfaceOrNullAttribute;
259 [Reflect, URL] attribute DOMString urlStringAttribute; 259 [Reflect, URL] attribute DOMString urlStringAttribute;
260 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 260 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
261 [Unforgeable] attribute long unforgeableLongAttribute; 261 [Unforgeable] attribute long unforgeableLongAttribute;
262 [Measure] attribute long measuredLongAttribute;
262 263
263 264
264 // Methods 265 // Methods
265 // 266 //
266 // Naming convention: 267 // Naming convention:
267 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg); 268 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg);
268 // E.g., 269 // E.g.,
269 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg); 270 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg);
270 void voidMethod(); 271 void voidMethod();
271 static void staticVoidMethod(); 272 static void staticVoidMethod();
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); 500 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod();
500 [Conditional=CONDITION] void conditionalConditionVoidMethod(); 501 [Conditional=CONDITION] void conditionalConditionVoidMethod();
501 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); 502 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod();
502 [Custom] void customVoidMethod(); 503 [Custom] void customVoidMethod();
503 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); 504 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod();
504 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); 505 [CustomElementCallbacks] void customElementCallbacksVoidMethod();
505 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); 506 [DeprecateAs=voidMethod] void deprecatedVoidMethod();
506 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); 507 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod();
507 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); 508 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod();
508 [MeasureAs=TestFeature] void measureAsVoidMethod(); 509 [MeasureAs=TestFeature] void measureAsVoidMethod();
510 [Measure] void measureMethod();
511 [Measure] void measureOverloadedMethod();
512 [Measure] void measureOverloadedMethod(long arg);
509 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); 513 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod();
510 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); 514 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg);
511 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(); 515 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod();
512 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg ); 516 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg );
513 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod(); 517 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod();
514 [MeasureAs=TestFeatureB] void measureAsOverloadedMethod(long arg); 518 [MeasureAs=TestFeatureB] void measureAsOverloadedMethod(long arg);
515 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(); 519 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod();
516 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(long arg); 520 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(long arg);
517 [DeprecateAs=TestFeatureA, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(); 521 [DeprecateAs=TestFeatureA, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod();
518 [DeprecateAs=TestFeatureB, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(long arg); 522 [DeprecateAs=TestFeatureB, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(long arg);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 583 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
580 [ImplementedInPrivateScript] attribute Node nodeAttribute; 584 [ImplementedInPrivateScript] attribute Node nodeAttribute;
581 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 585 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
582 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 586 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
583 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 587 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
584 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 588 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
585 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 589 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
586 590
587 maplike<long, DOMString>; 591 maplike<long, DOMString>;
588 }; 592 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698