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

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

Issue 1192753003: Merge 196373 "binding: Supports static operations/attrs returnin..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2357/
Patch Set: Created 5 years, 6 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 attribute TestInterfaceConstructor testInterfaceConstructorAttribute; 54 attribute TestInterfaceConstructor testInterfaceConstructorAttribute;
55 attribute TestInterfaceConstructor TestInterface; 55 attribute TestInterfaceConstructor TestInterface;
56 attribute TestInterface2Constructor TestInterface2; 56 attribute TestInterface2Constructor TestInterface2;
57 attribute double doubleAttribute; 57 attribute double doubleAttribute;
58 attribute float floatAttribute; 58 attribute float floatAttribute;
59 attribute unrestricted double unrestrictedDoubleAttribute; 59 attribute unrestricted double unrestrictedDoubleAttribute;
60 attribute unrestricted float unrestrictedFloatAttribute; 60 attribute unrestricted float unrestrictedFloatAttribute;
61 attribute TestEnum testEnumAttribute; 61 attribute TestEnum testEnumAttribute;
62 attribute DOMStringOrDouble stringOrDoubleAttribute; 62 attribute DOMStringOrDouble stringOrDoubleAttribute;
63 static attribute DOMString staticStringAttribute; 63 static attribute DOMString staticStringAttribute;
64 static attribute TestInterface staticReturnDOMWrapperAttribute;
64 [LegacyInterfaceTypeChecking] attribute TestInterfaceEmpty legacyInterfaceTy peCheckingAttribute; 65 [LegacyInterfaceTypeChecking] attribute TestInterfaceEmpty legacyInterfaceTy peCheckingAttribute;
65 66
66 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g); 67 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g);
67 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg); 68 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg);
68 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg); 69 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg);
69 void voidMethodTestEnumArg(TestEnum testEnumArg); 70 void voidMethodTestEnumArg(TestEnum testEnumArg);
70 [PerWorldBindings] void voidMethod(); 71 [PerWorldBindings] void voidMethod();
71 72
72 // Anonymous indexed property operations 73 // Anonymous indexed property operations
73 [DoNotCheckSecurity] getter DOMString (unsigned long index); 74 [DoNotCheckSecurity] getter DOMString (unsigned long index);
74 setter DOMString (unsigned long index, DOMString value); 75 setter DOMString (unsigned long index, DOMString value);
75 deleter boolean (unsigned long index); 76 deleter boolean (unsigned long index);
76 77
77 // Anonymous named property operations 78 // Anonymous named property operations
78 [DoNotCheckSecurity] getter DOMString (DOMString name); 79 [DoNotCheckSecurity] getter DOMString (DOMString name);
79 setter DOMString (DOMString name, DOMString value); 80 setter DOMString (DOMString name, DOMString value);
80 deleter boolean (DOMString name); 81 deleter boolean (DOMString name);
81 82
82 [NotEnumerable] stringifier; 83 [NotEnumerable] stringifier;
83 [NotEnumerable, RaisesException] serializer; 84 [NotEnumerable, RaisesException] serializer;
84 85
85 // Per-method [Exposed] annotation support. 86 // Per-method [Exposed] annotation support.
86 void alwaysExposedMethod(); 87 void alwaysExposedMethod();
87 [Exposed=Worker] void workerExposedMethod(); 88 [Exposed=Worker] void workerExposedMethod();
88 [Exposed=Window] void windowExposedMethod(); 89 [Exposed=Window] void windowExposedMethod();
89 90
90 static void alwaysExposedStaticMethod(); 91 static void alwaysExposedStaticMethod();
91 [Exposed=Worker] static void workerExposedStaticMethod(); 92 [Exposed=Worker] static void workerExposedStaticMethod();
92 [Exposed=Window] static void windowExposedStaticMethod(); 93 [Exposed=Window] static void windowExposedStaticMethod();
94 static TestInterface staticReturnDOMWrapperMethod();
93 95
94 attribute long alwaysExposedAttribute; 96 attribute long alwaysExposedAttribute;
95 [Exposed=Worker] attribute long workerExposedAttribute; 97 [Exposed=Worker] attribute long workerExposedAttribute;
96 [Exposed=Window] attribute long windowExposedAttribute; 98 [Exposed=Window] attribute long windowExposedAttribute;
97 99
98 [Exposed=Window, RuntimeEnabled=FeatureName] void methodWithExposedAndRuntim eEnabledFlag(); 100 [Exposed=Window, RuntimeEnabled=FeatureName] void methodWithExposedAndRuntim eEnabledFlag();
99 [Exposed=Window] void overloadMethodWithExposedAndRuntimeEnabledFlag(long lo ngArg); 101 [Exposed=Window] void overloadMethodWithExposedAndRuntimeEnabledFlag(long lo ngArg);
100 [Exposed=Window, RuntimeEnabled=FeatureName] void overloadMethodWithExposedA ndRuntimeEnabledFlag(DOMString string); 102 [Exposed=Window, RuntimeEnabled=FeatureName] void overloadMethodWithExposedA ndRuntimeEnabledFlag(DOMString string);
101 [Exposed=Window, RuntimeEnabled=FeatureName2] void overloadMethodWithExposed AndRuntimeEnabledFlag(Window window); 103 [Exposed=Window, RuntimeEnabled=FeatureName2] void overloadMethodWithExposed AndRuntimeEnabledFlag(Window window);
102 104
103 [Exposed(Window FeatureName, Worker FeatureName2)] void methodWithExposedHav ingRuntimeEnabldFlag(); 105 [Exposed(Window FeatureName, Worker FeatureName2)] void methodWithExposedHav ingRuntimeEnabldFlag();
104 106
105 [Exposed=(Window,ServiceWorker)] void windowAndServiceWorkerExposedMethod(); 107 [Exposed=(Window,ServiceWorker)] void windowAndServiceWorkerExposedMethod();
106 108
107 void voidMethodPartialOverload(); 109 void voidMethodPartialOverload();
108 void voidMethodPartialOverload(double doubleArg); 110 void voidMethodPartialOverload(double doubleArg);
109 static void staticVoidMethodPartialOverload(); 111 static void staticVoidMethodPartialOverload();
110 112
111 Promise promiseMethodPartialOverload(); 113 Promise promiseMethodPartialOverload();
112 Promise promiseMethodPartialOverload(Window window); 114 Promise promiseMethodPartialOverload(Window window);
113 static Promise staticPromiseMethodPartialOverload(); 115 static Promise staticPromiseMethodPartialOverload();
114 116
115 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg); 117 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg);
116 }; 118 };
117 119
118 TestInterface implements TestImplements; 120 TestInterface implements TestImplements;
119 // TestInterface implements TestImplements2; // at implement*ed* interface 121 // TestInterface implements TestImplements2; // at implement*ed* interface
120 TestInterface implements TestImplements3; 122 TestInterface implements TestImplements3;
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698