OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. |
3 * Copyright (C) 2012 Apple Inc. All Rights Reserved. | 3 * Copyright (C) 2012 Apple Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 10 matching lines...) Expand all Loading... |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #ifndef TreeScope_h | 27 #ifndef TreeScope_h |
28 #define TreeScope_h | 28 #define TreeScope_h |
29 | 29 |
30 #include "core/dom/DocumentOrderedMap.h" | 30 #include "core/dom/DocumentOrderedMap.h" |
31 #include <wtf/Forward.h> | 31 #include "wtf/Forward.h" |
32 #include <wtf/text/AtomicString.h> | 32 #include "wtf/text/AtomicString.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 | 35 |
36 class ContainerNode; | 36 class ContainerNode; |
37 class DOMSelection; | 37 class DOMSelection; |
38 class Document; | 38 class Document; |
39 class Element; | 39 class Element; |
40 class HTMLLabelElement; | 40 class HTMLLabelElement; |
41 class HTMLMapElement; | 41 class HTMLMapElement; |
42 class LayoutPoint; | 42 class LayoutPoint; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 { | 186 { |
187 return m_elementsById && m_elementsById->containsMultiple(id.impl()); | 187 return m_elementsById && m_elementsById->containsMultiple(id.impl()); |
188 } | 188 } |
189 | 189 |
190 Node* nodeFromPoint(Document*, int x, int y, LayoutPoint* localPoint = 0); | 190 Node* nodeFromPoint(Document*, int x, int y, LayoutPoint* localPoint = 0); |
191 TreeScope* commonTreeScope(Node*, Node*); | 191 TreeScope* commonTreeScope(Node*, Node*); |
192 | 192 |
193 } // namespace WebCore | 193 } // namespace WebCore |
194 | 194 |
195 #endif // TreeScope_h | 195 #endif // TreeScope_h |
OLD | NEW |