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

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

Issue 1004503004: IDL: Add support for serializer definitions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@V8ObjectBuilder
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 [DoNotCheckSecurity] getter DOMString (unsigned long index); 73 [DoNotCheckSecurity] getter DOMString (unsigned long index);
74 setter DOMString (unsigned long index, DOMString value); 74 setter DOMString (unsigned long index, DOMString value);
75 deleter boolean (unsigned long index); 75 deleter boolean (unsigned long index);
76 76
77 // Anonymous named property operations 77 // Anonymous named property operations
78 [DoNotCheckSecurity] getter DOMString (DOMString name); 78 [DoNotCheckSecurity] getter DOMString (DOMString name);
79 setter DOMString (DOMString name, DOMString value); 79 setter DOMString (DOMString name, DOMString value);
80 deleter boolean (DOMString name); 80 deleter boolean (DOMString name);
81 81
82 [NotEnumerable] stringifier; 82 [NotEnumerable] stringifier;
83 [NotEnumerable, RaisesException] serializer;
bashi 2015/03/26 02:26:17 Just a question: Does this CL support all forms of
Jens Widell 2015/03/26 05:34:10 The base parser supports all forms. Thus CL mostly
83 84
84 // Per-method [Exposed] annotation support. 85 // Per-method [Exposed] annotation support.
85 void alwaysExposedMethod(); 86 void alwaysExposedMethod();
86 [Exposed=Worker] void workerExposedMethod(); 87 [Exposed=Worker] void workerExposedMethod();
87 [Exposed=Window] void windowExposedMethod(); 88 [Exposed=Window] void windowExposedMethod();
88 89
89 static void alwaysExposedStaticMethod(); 90 static void alwaysExposedStaticMethod();
90 [Exposed=Worker] static void workerExposedStaticMethod(); 91 [Exposed=Worker] static void workerExposedStaticMethod();
91 [Exposed=Window] static void windowExposedStaticMethod(); 92 [Exposed=Window] static void windowExposedStaticMethod();
92 93
(...skipping 17 matching lines...) Expand all
110 Promise promiseMethodPartialOverload(); 111 Promise promiseMethodPartialOverload();
111 Promise promiseMethodPartialOverload(Window window); 112 Promise promiseMethodPartialOverload(Window window);
112 static Promise staticPromiseMethodPartialOverload(); 113 static Promise staticPromiseMethodPartialOverload();
113 114
114 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg); 115 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg);
115 }; 116 };
116 117
117 TestInterface implements TestImplements; 118 TestInterface implements TestImplements;
118 // TestInterface implements TestImplements2; // at implement*ed* interface 119 // TestInterface implements TestImplements2; // at implement*ed* interface
119 TestInterface implements TestImplements3; 120 TestInterface implements TestImplements3;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698