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

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

Issue 1901983002: IDL: Merge stringifier/serializer definition from implemented interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: as a test, move defs from TestInterface to TestImplements Created 4 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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/idls/core/TestImplements.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Anonymous indexed property operations 75 // Anonymous indexed property operations
76 [DoNotCheckSecurity] getter DOMString (unsigned long index); 76 [DoNotCheckSecurity] getter DOMString (unsigned long index);
77 setter DOMString (unsigned long index, DOMString value); 77 setter DOMString (unsigned long index, DOMString value);
78 deleter boolean (unsigned long index); 78 deleter boolean (unsigned long index);
79 79
80 // Anonymous named property operations 80 // Anonymous named property operations
81 [DoNotCheckSecurity] getter DOMString (DOMString name); 81 [DoNotCheckSecurity] getter DOMString (DOMString name);
82 setter DOMString (DOMString name, DOMString value); 82 setter DOMString (DOMString name, DOMString value);
83 deleter boolean (DOMString name); 83 deleter boolean (DOMString name);
84 84
85 [NotEnumerable] stringifier;
86 [NotEnumerable, RaisesException] serializer;
87
88 // Per-method [Exposed] annotation support. 85 // Per-method [Exposed] annotation support.
89 void alwaysExposedMethod(); 86 void alwaysExposedMethod();
90 [Exposed=Worker] void workerExposedMethod(); 87 [Exposed=Worker] void workerExposedMethod();
91 [Exposed=Window] void windowExposedMethod(); 88 [Exposed=Window] void windowExposedMethod();
92 89
93 static void alwaysExposedStaticMethod(); 90 static void alwaysExposedStaticMethod();
94 [Exposed=Worker] static void workerExposedStaticMethod(); 91 [Exposed=Worker] static void workerExposedStaticMethod();
95 [Exposed=Window] static void windowExposedStaticMethod(); 92 [Exposed=Window] static void windowExposedStaticMethod();
96 static TestInterface staticReturnDOMWrapperMethod(); 93 static TestInterface staticReturnDOMWrapperMethod();
97 94
(...skipping 19 matching lines...) Expand all
117 static Promise staticPromiseMethodPartialOverload(); 114 static Promise staticPromiseMethodPartialOverload();
118 115
119 [LenientThis] attribute any lenientThisAttribute; 116 [LenientThis] attribute any lenientThisAttribute;
120 117
121 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg); 118 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg);
122 }; 119 };
123 120
124 TestInterface implements TestImplements; 121 TestInterface implements TestImplements;
125 // TestInterface implements TestImplements2; // at implement*ed* interface 122 // TestInterface implements TestImplements2; // at implement*ed* interface
126 TestInterface implements TestImplements3; 123 TestInterface implements TestImplements3;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/idls/core/TestImplements.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698