Chromium Code Reviews| 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, | |
| 7 ] interface PrivateScriptTest { | 8 ] interface PrivateScriptTest { |
| 8 [ImplementedInPrivateScript] void doNothing(); | 9 [ImplementedInPrivateScript] void doNothing(); |
| 9 [ImplementedInPrivateScript] short return123(); | 10 [ImplementedInPrivateScript] short return123(); |
| 10 [ImplementedInPrivateScript] short echoInteger(short value); | 11 [ImplementedInPrivateScript] short echoInteger(short value); |
| 11 [ImplementedInPrivateScript] DOMString echoString(DOMString value); | 12 [ImplementedInPrivateScript] DOMString echoString(DOMString value); |
| 12 [ImplementedInPrivateScript] Node echoNode(Node value); | 13 [ImplementedInPrivateScript] Node echoNode(Node value); |
| 13 [ImplementedInPrivateScript] short addInteger(short value1, short value2); | 14 [ImplementedInPrivateScript] short addInteger(short value1, short value2); |
| 14 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString value2); | 15 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString value2); |
| 15 [ImplementedInPrivateScript] void setIntegerToPrototype(short value); | 16 [ImplementedInPrivateScript] void setIntegerToPrototype(short value); |
| 16 [ImplementedInPrivateScript] short getIntegerFromPrototype(); | 17 [ImplementedInPrivateScript] short getIntegerFromPrototype(); |
| 17 [ImplementedInPrivateScript] void setIntegerToDocument(Document document, sh ort value); | 18 [ImplementedInPrivateScript] void setIntegerToDocument(Document document, sh ort value); |
| 18 [ImplementedInPrivateScript] short getIntegerFromDocument(Document document) ; | 19 [ImplementedInPrivateScript] short getIntegerFromDocument(Document document) ; |
| 19 [ImplementedInPrivateScript] Node createElement(Document document); | 20 [ImplementedInPrivateScript] Node createElement(Document document); |
| 20 [ImplementedInPrivateScript] void appendChild(Node node1, Node node2); | 21 [ImplementedInPrivateScript] void appendChild(Node node1, Node node2); |
| 21 [ImplementedInPrivateScript] Node firstChild(Node node); | 22 [ImplementedInPrivateScript] Node firstChild(Node node); |
| 22 [ImplementedInPrivateScript] Node nextSibling(Node node); | 23 [ImplementedInPrivateScript] Node nextSibling(Node node); |
| 23 [ImplementedInPrivateScript] DOMString innerHTML(Node node); | 24 [ImplementedInPrivateScript] DOMString innerHTML(Node node); |
| 24 [ImplementedInPrivateScript] void setInnerHTML(Node node, DOMString string); | 25 [ImplementedInPrivateScript] void setInnerHTML(Node node, DOMString string); |
| 25 [ImplementedInPrivateScript] void addClickListener(Node node); | 26 [ImplementedInPrivateScript] void addClickListener(Node node); |
| 26 [ImplementedInPrivateScript] void clickNode(Document document, Node node); | 27 [ImplementedInPrivateScript] void clickNode(Document document, Node node); |
| 27 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; | 28 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; |
| 28 [ImplementedInPrivateScript] attribute short shortAttribute; | 29 [ImplementedInPrivateScript] attribute short shortAttribute; |
| 29 [ImplementedInPrivateScript] attribute DOMString stringAttribute; | 30 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
| 30 [ImplementedInPrivateScript] attribute Node nodeAttribute; | 31 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
| 31 [ImplementedInPrivateScript] attribute Node nodeAttributeThrowsIndexSizeErro r; | 32 [ImplementedInPrivateScript] attribute Node? nodeAttributeThrowsIndexSizeErr or; |
|
Jens Widell
2015/02/27 15:49:51
Made nullable since null was assigned in the layou
| |
| 32 [ImplementedInPrivateScript] void voidMethodThrowsDOMSyntaxError(); | 33 [ImplementedInPrivateScript] void voidMethodThrowsDOMSyntaxError(); |
| 33 [ImplementedInPrivateScript] void voidMethodThrowsError(); | 34 [ImplementedInPrivateScript] void voidMethodThrowsError(); |
| 34 [ImplementedInPrivateScript] void voidMethodThrowsTypeError(); | 35 [ImplementedInPrivateScript] void voidMethodThrowsTypeError(); |
| 35 [ImplementedInPrivateScript] void voidMethodThrowsRangeError(); | 36 [ImplementedInPrivateScript] void voidMethodThrowsRangeError(); |
| 36 [ImplementedInPrivateScript] void voidMethodThrowsSyntaxError(); | 37 [ImplementedInPrivateScript] void voidMethodThrowsSyntaxError(); |
| 37 [ImplementedInPrivateScript] void voidMethodThrowsReferenceError(); | 38 [ImplementedInPrivateScript] void voidMethodThrowsReferenceError(); |
| 38 [ImplementedInPrivateScript] void voidMethodThrowsStackOverflowError(); | 39 [ImplementedInPrivateScript] void voidMethodThrowsStackOverflowError(); |
| 39 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerFor PrivateScriptOnly(short value1, short value2); | 40 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerFor PrivateScriptOnly(short value1, short value2); |
| 40 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString stringAttributeForPrivateScriptOnly; | 41 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString stringAttributeForPrivateScriptOnly; |
| 41 [ImplementedInPrivateScript] short addIntegerImplementedInCPP(short value1, short value2); | 42 [ImplementedInPrivateScript] short addIntegerImplementedInCPP(short value1, short value2); |
| 42 [OnlyExposedToPrivateScript] short addIntegerImplementedInCPPForPrivateScrip tOnly(short value1, short value2); | 43 [OnlyExposedToPrivateScript] short addIntegerImplementedInCPPForPrivateScrip tOnly(short value1, short value2); |
| 43 [ImplementedInPrivateScript] attribute DOMString stringAttributeImplementedI nCPP; | 44 [ImplementedInPrivateScript] attribute DOMString stringAttributeImplementedI nCPP; |
| 44 [OnlyExposedToPrivateScript] attribute DOMString stringAttributeImplementedI nCPPForPrivateScriptOnly; | 45 [OnlyExposedToPrivateScript] attribute DOMString stringAttributeImplementedI nCPPForPrivateScriptOnly; |
| 45 [ImplementedInPrivateScript] void dispatchDocumentOnload(Document document); | 46 [ImplementedInPrivateScript] void dispatchDocumentOnload(Document document); |
| 46 }; | 47 }; |
| OLD | NEW |