| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 void collapse(optional boolean toStart = false); | 40 void collapse(optional boolean toStart = false); |
| 41 [RaisesException] void selectNode(Node refNode); | 41 [RaisesException] void selectNode(Node refNode); |
| 42 [RaisesException] void selectNodeContents(Node refNode); | 42 [RaisesException] void selectNodeContents(Node refNode); |
| 43 | 43 |
| 44 // CompareHow | 44 // CompareHow |
| 45 const unsigned short START_TO_START = 0; | 45 const unsigned short START_TO_START = 0; |
| 46 const unsigned short START_TO_END = 1; | 46 const unsigned short START_TO_END = 1; |
| 47 const unsigned short END_TO_END = 2; | 47 const unsigned short END_TO_END = 2; |
| 48 const unsigned short END_TO_START = 3; | 48 const unsigned short END_TO_START = 3; |
| 49 | 49 |
| 50 [RaisesException, TypeChecking=Interface] short compareBoundaryPoints(Compar
eHow how, Range sourceRange); | 50 // TODO(eseidel): Generate a dart enum for above. |
| 51 // [RaisesException, TypeChecking=Interface] short compareBoundaryPoints(Com
pareHow how, Range sourceRange); |
| 51 | 52 |
| 52 [RaisesException, CustomElementCallbacks] void deleteContents(); | 53 [RaisesException, CustomElementCallbacks] void deleteContents(); |
| 53 [RaisesException, CustomElementCallbacks] DocumentFragment extractContents()
; | 54 [RaisesException, CustomElementCallbacks] DocumentFragment extractContents()
; |
| 54 [RaisesException, CustomElementCallbacks] DocumentFragment cloneContents(); | 55 [RaisesException, CustomElementCallbacks] DocumentFragment cloneContents(); |
| 55 [RaisesException, CustomElementCallbacks] void insertNode(Node newNode); | 56 [RaisesException, CustomElementCallbacks] void insertNode(Node newNode); |
| 56 [RaisesException, CustomElementCallbacks] void surroundContents(Node newPare
nt); | 57 [RaisesException, CustomElementCallbacks] void surroundContents(Node newPare
nt); |
| 57 Range cloneRange(); | 58 Range cloneRange(); |
| 58 | 59 |
| 59 stringifier; | 60 stringifier; |
| 60 | 61 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 73 // CompareResults | 74 // CompareResults |
| 74 const unsigned short NODE_BEFORE = 0; | 75 const unsigned short NODE_BEFORE = 0; |
| 75 const unsigned short NODE_AFTER = 1; | 76 const unsigned short NODE_AFTER = 1; |
| 76 const unsigned short NODE_BEFORE_AND_AFTER = 2; | 77 const unsigned short NODE_BEFORE_AND_AFTER = 2; |
| 77 const unsigned short NODE_INSIDE = 3; | 78 const unsigned short NODE_INSIDE = 3; |
| 78 | 79 |
| 79 [RaisesException] short compareNode([Default=Undefined] optional Node refNod
e); | 80 [RaisesException] short compareNode([Default=Undefined] optional Node refNod
e); |
| 80 | 81 |
| 81 [RaisesException] void expand([Default=Undefined] optional DOMString unit); | 82 [RaisesException] void expand([Default=Undefined] optional DOMString unit); |
| 82 }; | 83 }; |
| OLD | NEW |