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

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

Issue 1008353002: bindings: Reduces the binary size by reducing # of callback functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. 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 | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 Exposed=(Worker,Window), 45 Exposed=(Worker,Window),
46 ] interface TestInterface : TestInterfaceEmpty { 46 ] interface TestInterface : TestInterfaceEmpty {
47 // members needed to test [ImplementedAs], as this affect attribute 47 // members needed to test [ImplementedAs], as this affect attribute
48 // configuration and method configuration, and [TypeChecking] 48 // configuration and method configuration, and [TypeChecking]
49 // constants also needed for [DoNotCheckConstants] 49 // constants also needed for [DoNotCheckConstants]
50 const unsigned long UNSIGNED_LONG = 0; 50 const unsigned long UNSIGNED_LONG = 0;
51 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1; 51 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1;
52 52
53 [Measure] attribute TestInterface testInterfaceAttribute; // Self-referentia l interface type with [ImplementedAs] 53 [Measure] attribute TestInterface testInterfaceAttribute; // Self-referentia l interface type with [ImplementedAs]
54 attribute TestInterfaceConstructor testInterfaceConstructorAttribute; 54 attribute TestInterfaceConstructor testInterfaceConstructorAttribute;
55 attribute TestInterfaceConstructor TestInterface;
56 attribute TestInterface2Constructor TestInterface2;
55 attribute double doubleAttribute; 57 attribute double doubleAttribute;
56 attribute float floatAttribute; 58 attribute float floatAttribute;
57 attribute unrestricted double unrestrictedDoubleAttribute; 59 attribute unrestricted double unrestrictedDoubleAttribute;
58 attribute unrestricted float unrestrictedFloatAttribute; 60 attribute unrestricted float unrestrictedFloatAttribute;
59 attribute TestEnum testEnumAttribute; 61 attribute TestEnum testEnumAttribute;
60 attribute DOMStringOrDouble stringOrDoubleAttribute; 62 attribute DOMStringOrDouble stringOrDoubleAttribute;
61 static attribute DOMString staticStringAttribute; 63 static attribute DOMString staticStringAttribute;
62 [LegacyInterfaceTypeChecking] attribute TestInterfaceEmpty legacyInterfaceTy peCheckingAttribute; 64 [LegacyInterfaceTypeChecking] attribute TestInterfaceEmpty legacyInterfaceTy peCheckingAttribute;
63 65
64 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g); 66 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 Promise promiseMethodPartialOverload(); 110 Promise promiseMethodPartialOverload();
109 Promise promiseMethodPartialOverload(Window window); 111 Promise promiseMethodPartialOverload(Window window);
110 static Promise staticPromiseMethodPartialOverload(); 112 static Promise staticPromiseMethodPartialOverload();
111 113
112 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg); 114 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt erfaceEmpty testInterfaceEmptyArg);
113 }; 115 };
114 116
115 TestInterface implements TestImplements; 117 TestInterface implements TestImplements;
116 // TestInterface implements TestImplements2; // at implement*ed* interface 118 // TestInterface implements TestImplements2; // at implement*ed* interface
117 TestInterface implements TestImplements3; 119 TestInterface implements TestImplements3;
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/bindings/tests/results/core/V8ArrayBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698