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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/idls/core/TestImplements.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 2 * Copyright (C) 2013 Samsung Electronics. 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 27 matching lines...) Expand all
38 38
39 void implementsVoidMethod(); 39 void implementsVoidMethod();
40 [CallWith=ExecutionContext, RaisesException] TestInterfaceEmpty implementsCo mplexMethod(DOMString strArg, TestInterfaceEmpty testInterfaceEmptyArg); 40 [CallWith=ExecutionContext, RaisesException] TestInterfaceEmpty implementsCo mplexMethod(DOMString strArg, TestInterfaceEmpty testInterfaceEmptyArg);
41 [Custom] void implementsCustomVoidMethod(); 41 [Custom] void implementsCustomVoidMethod();
42 static void implementsStaticVoidMethod(); 42 static void implementsStaticVoidMethod();
43 43
44 const unsigned short IMPLEMENTS_CONSTANT_1 = 1; 44 const unsigned short IMPLEMENTS_CONSTANT_1 = 1;
45 [Reflect=IMPLEMENTS_REFLECT_CONSTANT] const unsigned short IMPLEMENTS_CONSTA NT_2 = 2; 45 [Reflect=IMPLEMENTS_REFLECT_CONSTANT] const unsigned short IMPLEMENTS_CONSTA NT_2 = 2;
46 46
47 [RuntimeEnabled=ImplementsFeatureName] attribute Node implementsRuntimeEnabl edNodeAttribute; 47 [RuntimeEnabled=ImplementsFeatureName] attribute Node implementsRuntimeEnabl edNodeAttribute;
48
49 [NotEnumerable] stringifier;
50 [NotEnumerable, RaisesException] serializer;
48 }; 51 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698