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

Side by Side Diff: core/dom/Range.idl

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 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 | Annotate | Revision Log
« no previous file with comments | « core/dom/Promise.idl ('k') | core/dom/ResourceProgressEvent.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // CompareHow 46 // CompareHow
47 const unsigned short START_TO_START = 0; 47 const unsigned short START_TO_START = 0;
48 const unsigned short START_TO_END = 1; 48 const unsigned short START_TO_END = 1;
49 const unsigned short END_TO_END = 2; 49 const unsigned short END_TO_END = 2;
50 const unsigned short END_TO_START = 3; 50 const unsigned short END_TO_START = 3;
51 51
52 [RaisesException] short compareBoundaryPoints([Default=Undefined] optional CompareHow how, 52 [RaisesException] short compareBoundaryPoints([Default=Undefined] optional CompareHow how,
53 [Default=Undefined] optional Rang e sourceRange); 53 [Default=Undefined] optional Rang e sourceRange);
54 54
55 [RaisesException, CustomElementCallbacks=Enable] void deleteContents(); 55 [RaisesException, CustomElementCallbacks] void deleteContents();
56 [RaisesException, CustomElementCallbacks=Enable] DocumentFragment extractCon tents(); 56 [RaisesException, CustomElementCallbacks] DocumentFragment extractContents() ;
57 [RaisesException, CustomElementCallbacks=Enable] DocumentFragment cloneConte nts(); 57 [RaisesException, CustomElementCallbacks] DocumentFragment cloneContents();
58 [RaisesException, CustomElementCallbacks=Enable] void insertNode([Default=Un defined] optional Node newNode); 58 [RaisesException, CustomElementCallbacks] void insertNode([Default=Undefined ] optional Node newNode);
59 [RaisesException, CustomElementCallbacks=Enable] void surroundContents([Defa ult=Undefined] optional Node newParent); 59 [RaisesException, CustomElementCallbacks] void surroundContents([Default=Und efined] optional Node newParent);
60 [RaisesException] Range cloneRange(); 60 [RaisesException] Range cloneRange();
61 [RaisesException] DOMString toString(); 61 [RaisesException] DOMString toString();
62 62
63 [RaisesException] void detach(); 63 [RaisesException] void detach();
64 64
65 // CSSOM View Module API extensions 65 // CSSOM View Module API extensions
66 66
67 ClientRectList getClientRects(); 67 ClientRectList getClientRects();
68 ClientRect getBoundingClientRect(); 68 ClientRect getBoundingClientRect();
69 69
70 // extensions 70 // extensions
71 71
72 [RaisesException, CustomElementCallbacks=Enable] DocumentFragment createCont extualFragment([Default=Undefined] optional DOMString html); 72 [RaisesException, CustomElementCallbacks] DocumentFragment createContextualF ragment([Default=Undefined] optional DOMString html);
73 73
74 // WebKit extensions 74 // WebKit extensions
75 75
76 [RaisesException] boolean intersectsNode([Default=Undefined] optional Node r efNode); 76 [RaisesException] boolean intersectsNode([Default=Undefined] optional Node r efNode);
77 77
78 [RaisesException] short compareNode([Default=Undefined] optional Node refNod e); 78 [RaisesException] short compareNode([Default=Undefined] optional Node refNod e);
79 79
80 // CompareResults 80 // CompareResults
81 const unsigned short NODE_BEFORE = 0; 81 const unsigned short NODE_BEFORE = 0;
82 const unsigned short NODE_AFTER = 1; 82 const unsigned short NODE_AFTER = 1;
83 const unsigned short NODE_BEFORE_AND_AFTER = 2; 83 const unsigned short NODE_BEFORE_AND_AFTER = 2;
84 const unsigned short NODE_INSIDE = 3; 84 const unsigned short NODE_INSIDE = 3;
85 85
86 [RaisesException] short comparePoint([Default=Undefined] optional Node refNo de, 86 [RaisesException] short comparePoint([Default=Undefined] optional Node refNo de,
87 [Default=Undefined] optional long offset); 87 [Default=Undefined] optional long offset);
88 88
89 [RaisesException] boolean isPointInRange([Default=Undefined] optional Node r efNode, 89 [RaisesException] boolean isPointInRange([Default=Undefined] optional Node r efNode,
90 [Default=Undefined] optional long offset); 90 [Default=Undefined] optional long offset);
91 91
92 [RaisesException] void expand([Default=Undefined] optional DOMString unit); 92 [RaisesException] void expand([Default=Undefined] optional DOMString unit);
93 }; 93 };
94 94
OLDNEW
« no previous file with comments | « core/dom/Promise.idl ('k') | core/dom/ResourceProgressEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698