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

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

Issue 961073004: IDL: Add [LegacyInterfaceTypeChecking] extended attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 attribute TestInterface testInterfaceAttribute; // Self-referential interfac e type with [ImplementedAs] 52 attribute TestInterface testInterfaceAttribute; // Self-referential interfac e type with [ImplementedAs]
53 attribute TestInterfaceConstructor testInterfaceConstructorAttribute; 53 attribute TestInterfaceConstructor testInterfaceConstructorAttribute;
54 attribute double doubleAttribute; 54 attribute double doubleAttribute;
55 attribute float floatAttribute; 55 attribute float floatAttribute;
56 attribute unrestricted double unrestrictedDoubleAttribute; 56 attribute unrestricted double unrestrictedDoubleAttribute;
57 attribute unrestricted float unrestrictedFloatAttribute; 57 attribute unrestricted float unrestrictedFloatAttribute;
58 attribute TestEnum testEnumAttribute; 58 attribute TestEnum testEnumAttribute;
59 attribute DOMStringOrDouble stringOrDoubleAttribute; 59 attribute DOMStringOrDouble stringOrDoubleAttribute;
60 static attribute DOMString staticStringAttribute; 60 static attribute DOMString staticStringAttribute;
61 [LegacyInterfaceTypeChecking] attribute TestInterfaceEmpty legacyInterfaceTy peCheckingAttribute;
61 62
62 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g); 63 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g);
63 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg); 64 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg);
64 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg); 65 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg);
65 void voidMethodTestEnumArg(TestEnum testEnumArg); 66 void voidMethodTestEnumArg(TestEnum testEnumArg);
66 [PerWorldBindings] void voidMethod(); 67 [PerWorldBindings] void voidMethod();
67 68
68 // Anonymous indexed property operations 69 // Anonymous indexed property operations
69 [DoNotCheckSecurity] getter DOMString (unsigned long index); 70 [DoNotCheckSecurity] getter DOMString (unsigned long index);
70 setter DOMString (unsigned long index, DOMString value); 71 setter DOMString (unsigned long index, DOMString value);
(...skipping 28 matching lines...) Expand all
99 100
100 [Exposed=(Window,ServiceWorker)] void windowAndServiceWorkerExposedMethod(); 101 [Exposed=(Window,ServiceWorker)] void windowAndServiceWorkerExposedMethod();
101 102
102 void voidMethodPartialOverload(); 103 void voidMethodPartialOverload();
103 void voidMethodPartialOverload(double doubleArg); 104 void voidMethodPartialOverload(double doubleArg);
104 static void staticVoidMethodPartialOverload(); 105 static void staticVoidMethodPartialOverload();
105 106
106 Promise promiseMethodPartialOverload(); 107 Promise promiseMethodPartialOverload();
107 Promise promiseMethodPartialOverload(Window window); 108 Promise promiseMethodPartialOverload(Window window);
108 static Promise staticPromiseMethodPartialOverload(); 109 static Promise staticPromiseMethodPartialOverload();
110
111 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg);
109 }; 112 };
110 113
111 TestInterface implements TestImplements; 114 TestInterface implements TestImplements;
112 // TestInterface implements TestImplements2; // at implement*ed* interface 115 // TestInterface implements TestImplements2; // at implement*ed* interface
113 TestInterface implements TestImplements3; 116 TestInterface implements TestImplements3;
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_utilities.py ('k') | Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698