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

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

Issue 1085453003: IDL: Add support for [Unscopeable] on attributes and methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixes Created 5 years, 8 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 [Measure] attribute long measuredLongAttribute;
265 [SameObject] attribute TestInterface sameObjectAttribute; 265 [SameObject] attribute TestInterface sameObjectAttribute;
266 [Unscopeable] attribute long unscopeableLongAttribute;
267 [Unscopeable] void unscopeableVoidMethod();
266 268
267 269
268 // Methods 270 // Methods
269 // 271 //
270 // Naming convention: 272 // Naming convention:
271 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg); 273 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg);
272 // E.g., 274 // E.g.,
273 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg); 275 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg);
274 void voidMethod(); 276 void voidMethod();
275 static void staticVoidMethod(); 277 static void staticVoidMethod();
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 603 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
602 [ImplementedInPrivateScript] attribute Node nodeAttribute; 604 [ImplementedInPrivateScript] attribute Node nodeAttribute;
603 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 605 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
604 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 606 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
605 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 607 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
606 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 608 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
607 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 609 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
608 610
609 maplike<long, DOMStringOrDouble>; 611 maplike<long, DOMStringOrDouble>;
610 }; 612 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/partial_interface.cpp ('k') | Source/bindings/tests/idls/modules/TestPartialInterface3.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698