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

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: Remove inheritance of [Measure] Created 5 years, 9 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute; 254 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute;
255 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute; 255 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute;
256 [TreatReturnedNullStringAs=Null] attribute USVString treatReturnedNullString AsNullUSVStringAttribute; 256 [TreatReturnedNullStringAs=Null] attribute USVString treatReturnedNullString AsNullUSVStringAttribute;
257 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS tringAsUndefinedUSVStringAttribute; 257 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS tringAsUndefinedUSVStringAttribute;
258 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute ; // nop for non-interface types 258 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute ; // nop for non-interface types
259 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute; 259 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute;
260 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI nterfaceOrNullAttribute; 260 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI nterfaceOrNullAttribute;
261 [Reflect, URL] attribute DOMString urlStringAttribute; 261 [Reflect, URL] attribute DOMString urlStringAttribute;
262 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 262 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
263 [Unforgeable] attribute long unforgeableLongAttribute; 263 [Unforgeable] attribute long unforgeableLongAttribute;
264 [Measure] attribute long measuredLongAttribute;
264 265
265 266
266 // Methods 267 // Methods
267 // 268 //
268 // Naming convention: 269 // Naming convention:
269 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg); 270 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg);
270 // E.g., 271 // E.g.,
271 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg); 272 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg);
272 void voidMethod(); 273 void voidMethod();
273 static void staticVoidMethod(); 274 static void staticVoidMethod();
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); 504 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod();
504 [Conditional=CONDITION] void conditionalConditionVoidMethod(); 505 [Conditional=CONDITION] void conditionalConditionVoidMethod();
505 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); 506 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod();
506 [Custom] void customVoidMethod(); 507 [Custom] void customVoidMethod();
507 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); 508 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod();
508 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); 509 [CustomElementCallbacks] void customElementCallbacksVoidMethod();
509 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); 510 [DeprecateAs=voidMethod] void deprecatedVoidMethod();
510 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); 511 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod();
511 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); 512 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod();
512 [MeasureAs=TestFeature] void measureAsVoidMethod(); 513 [MeasureAs=TestFeature] void measureAsVoidMethod();
514 [Measure] void measureMethod();
515 [Measure] void measureOverloadedMethod();
516 [Measure] void measureOverloadedMethod(long arg);
513 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); 517 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod();
514 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); 518 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg);
515 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(); 519 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod();
516 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg ); 520 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg );
517 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod(); 521 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod();
518 [MeasureAs=TestFeatureB] void measureAsOverloadedMethod(long arg); 522 [MeasureAs=TestFeatureB] void measureAsOverloadedMethod(long arg);
519 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(); 523 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod();
520 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(long arg); 524 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(long arg);
521 [DeprecateAs=TestFeatureA, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(); 525 [DeprecateAs=TestFeatureA, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod();
522 [DeprecateAs=TestFeatureB, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(long arg); 526 [DeprecateAs=TestFeatureB, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(long arg);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 587 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
584 [ImplementedInPrivateScript] attribute Node nodeAttribute; 588 [ImplementedInPrivateScript] attribute Node nodeAttribute;
585 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 589 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
586 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 590 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
587 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 591 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
588 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 592 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
589 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 593 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
590 594
591 maplike<long, DOMStringOrDouble>; 595 maplike<long, DOMStringOrDouble>;
592 }; 596 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/core/TestInterface.idl ('k') | Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698