OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 GarbageCollected, | 6 GarbageCollected, |
7 TypeChecking=Interface, | |
8 ] interface PrivateScriptTest { | 7 ] interface PrivateScriptTest { |
9 [ImplementedInPrivateScript] void doNothing(); | 8 [ImplementedInPrivateScript] void doNothing(); |
10 [ImplementedInPrivateScript] short return123(); | 9 [ImplementedInPrivateScript] short return123(); |
11 [ImplementedInPrivateScript] short echoInteger(short value); | 10 [ImplementedInPrivateScript] short echoInteger(short value); |
12 [ImplementedInPrivateScript] DOMString echoString(DOMString value); | 11 [ImplementedInPrivateScript] DOMString echoString(DOMString value); |
13 [ImplementedInPrivateScript] Node echoNode(Node value); | 12 [ImplementedInPrivateScript] Node echoNode(Node value); |
14 [ImplementedInPrivateScript] short addInteger(short value1, short value2); | 13 [ImplementedInPrivateScript] short addInteger(short value1, short value2); |
15 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString
value2); | 14 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString
value2); |
16 [ImplementedInPrivateScript] void setIntegerToPrototype(short value); | 15 [ImplementedInPrivateScript] void setIntegerToPrototype(short value); |
17 [ImplementedInPrivateScript] short getIntegerFromPrototype(); | 16 [ImplementedInPrivateScript] short getIntegerFromPrototype(); |
(...skipping 20 matching lines...) Expand all Loading... |
38 [ImplementedInPrivateScript] void voidMethodThrowsReferenceError(); | 37 [ImplementedInPrivateScript] void voidMethodThrowsReferenceError(); |
39 [ImplementedInPrivateScript] void voidMethodThrowsStackOverflowError(); | 38 [ImplementedInPrivateScript] void voidMethodThrowsStackOverflowError(); |
40 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerFor
PrivateScriptOnly(short value1, short value2); | 39 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerFor
PrivateScriptOnly(short value1, short value2); |
41 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
stringAttributeForPrivateScriptOnly; | 40 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
stringAttributeForPrivateScriptOnly; |
42 [ImplementedInPrivateScript] short addIntegerImplementedInCPP(short value1,
short value2); | 41 [ImplementedInPrivateScript] short addIntegerImplementedInCPP(short value1,
short value2); |
43 [OnlyExposedToPrivateScript] short addIntegerImplementedInCPPForPrivateScrip
tOnly(short value1, short value2); | 42 [OnlyExposedToPrivateScript] short addIntegerImplementedInCPPForPrivateScrip
tOnly(short value1, short value2); |
44 [ImplementedInPrivateScript] attribute DOMString stringAttributeImplementedI
nCPP; | 43 [ImplementedInPrivateScript] attribute DOMString stringAttributeImplementedI
nCPP; |
45 [OnlyExposedToPrivateScript] attribute DOMString stringAttributeImplementedI
nCPPForPrivateScriptOnly; | 44 [OnlyExposedToPrivateScript] attribute DOMString stringAttributeImplementedI
nCPPForPrivateScriptOnly; |
46 [ImplementedInPrivateScript] void dispatchDocumentOnload(Document document); | 45 [ImplementedInPrivateScript] void dispatchDocumentOnload(Document document); |
47 }; | 46 }; |
OLD | NEW |