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

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

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

Powered by Google App Engine
This is Rietveld 408576698