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

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

Issue 831483004: IDL: Make enums have global visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // constants also needed for [DoNotCheckConstants] 48 // constants also needed for [DoNotCheckConstants]
49 const unsigned long UNSIGNED_LONG = 0; 49 const unsigned long UNSIGNED_LONG = 0;
50 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1; 50 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1;
51 51
52 attribute TestInterface testInterfaceAttribute; // Self-referential interfac e type with [ImplementedAs] 52 attribute TestInterface testInterfaceAttribute; // Self-referential interfac e type with [ImplementedAs]
53 attribute TestInterfaceConstructor testInterfaceConstructorAttribute; 53 attribute TestInterfaceConstructor testInterfaceConstructorAttribute;
54 attribute double doubleAttribute; 54 attribute double doubleAttribute;
55 attribute float floatAttribute; 55 attribute float floatAttribute;
56 attribute unrestricted double unrestrictedDoubleAttribute; 56 attribute unrestricted double unrestrictedDoubleAttribute;
57 attribute unrestricted float unrestrictedFloatAttribute; 57 attribute unrestricted float unrestrictedFloatAttribute;
58 attribute TestEnum testEnumAttribute;
58 static attribute DOMString staticStringAttribute; 59 static attribute DOMString staticStringAttribute;
59 60
60 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g); 61 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g);
61 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg); 62 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg);
62 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg); 63 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg);
64 void voidMethodTestEnumArg(TestEnum testEnumArg);
63 [PerWorldBindings] void voidMethod(); 65 [PerWorldBindings] void voidMethod();
64 66
65 // Anonymous indexed property operations 67 // Anonymous indexed property operations
66 getter DOMString (unsigned long index); 68 getter DOMString (unsigned long index);
67 setter DOMString (unsigned long index, DOMString value); 69 setter DOMString (unsigned long index, DOMString value);
68 deleter boolean (unsigned long index); 70 deleter boolean (unsigned long index);
69 71
70 // Anonymous named property operations 72 // Anonymous named property operations
71 getter DOMString (DOMString name); 73 getter DOMString (DOMString name);
72 setter DOMString (DOMString name, DOMString value); 74 setter DOMString (DOMString name, DOMString value);
(...skipping 28 matching lines...) Expand all
101 static void staticVoidMethodPartialOverload(); 103 static void staticVoidMethodPartialOverload();
102 104
103 Promise promiseMethodPartialOverload(); 105 Promise promiseMethodPartialOverload();
104 Promise promiseMethodPartialOverload(Window window); 106 Promise promiseMethodPartialOverload(Window window);
105 static Promise staticPromiseMethodPartialOverload(); 107 static Promise staticPromiseMethodPartialOverload();
106 }; 108 };
107 109
108 TestInterface implements TestImplements; 110 TestInterface implements TestImplements;
109 // TestInterface implements TestImplements2; // at implement*ed* interface 111 // TestInterface implements TestImplements2; // at implement*ed* interface
110 TestInterface implements TestImplements3; 112 TestInterface implements TestImplements3;
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/core/TestDictionary.idl ('k') | Source/bindings/tests/idls/modules/TestInterface5.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698