OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "WebDocument.h" | 32 #include "WebDocument.h" |
33 | 33 |
34 #include "Document.h" | |
35 #include "DocumentStyleSheetCollection.h" | |
36 #include "DocumentType.h" | |
37 #include "Element.h" | |
38 #include "HTMLAllCollection.h" | 34 #include "HTMLAllCollection.h" |
39 #include "HTMLBodyElement.h" | 35 #include "HTMLBodyElement.h" |
40 #include "HTMLCollection.h" | 36 #include "HTMLCollection.h" |
41 #include "HTMLElement.h" | 37 #include "HTMLElement.h" |
42 #include "HTMLFormElement.h" | 38 #include "HTMLFormElement.h" |
43 #include "HTMLHeadElement.h" | 39 #include "HTMLHeadElement.h" |
44 #include "NodeList.h" | |
45 #include "WebAccessibilityObject.h" | 40 #include "WebAccessibilityObject.h" |
46 #include "WebDOMEvent.h" | 41 #include "WebDOMEvent.h" |
47 #include "WebDocumentType.h" | 42 #include "WebDocumentType.h" |
48 #include "WebElement.h" | 43 #include "WebElement.h" |
49 #include "WebFormElement.h" | 44 #include "WebFormElement.h" |
50 #include "WebFrameImpl.h" | 45 #include "WebFrameImpl.h" |
51 #include "WebNodeCollection.h" | 46 #include "WebNodeCollection.h" |
52 #include "WebNodeList.h" | 47 #include "WebNodeList.h" |
53 #include "core/accessibility/AXObjectCache.h" | 48 #include "core/accessibility/AXObjectCache.h" |
54 #include "core/css/CSSParserMode.h" | 49 #include "core/css/CSSParserMode.h" |
55 #include "core/css/StyleSheetContents.h" | 50 #include "core/css/StyleSheetContents.h" |
| 51 #include "core/dom/Document.h" |
| 52 #include "core/dom/DocumentStyleSheetCollection.h" |
| 53 #include "core/dom/DocumentType.h" |
| 54 #include "core/dom/Element.h" |
| 55 #include "core/dom/NodeList.h" |
56 #include "core/loader/DocumentLoader.h" | 56 #include "core/loader/DocumentLoader.h" |
57 #include "core/page/SecurityOrigin.h" | 57 #include "core/page/SecurityOrigin.h" |
58 #include "core/rendering/RenderObject.h" | 58 #include "core/rendering/RenderObject.h" |
59 #include <public/WebURL.h> | 59 #include <public/WebURL.h> |
60 #include <wtf/PassRefPtr.h> | 60 #include <wtf/PassRefPtr.h> |
61 | 61 |
62 using namespace WebCore; | 62 using namespace WebCore; |
63 | 63 |
64 namespace WebKit { | 64 namespace WebKit { |
65 | 65 |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 m_private = elem; | 282 m_private = elem; |
283 return *this; | 283 return *this; |
284 } | 284 } |
285 | 285 |
286 WebDocument::operator PassRefPtr<Document>() const | 286 WebDocument::operator PassRefPtr<Document>() const |
287 { | 287 { |
288 return static_cast<Document*>(m_private.get()); | 288 return static_cast<Document*>(m_private.get()); |
289 } | 289 } |
290 | 290 |
291 } // namespace WebKit | 291 } // namespace WebKit |
OLD | NEW |