| 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 "HTMLAllCollection.h" | |
| 35 #include "HTMLBodyElement.h" | |
| 36 #include "HTMLCollection.h" | |
| 37 #include "HTMLElement.h" | |
| 38 #include "HTMLFormElement.h" | |
| 39 #include "HTMLHeadElement.h" | |
| 40 #include "WebAccessibilityObject.h" | 34 #include "WebAccessibilityObject.h" |
| 41 #include "WebDOMEvent.h" | 35 #include "WebDOMEvent.h" |
| 42 #include "WebDocumentType.h" | 36 #include "WebDocumentType.h" |
| 43 #include "WebElement.h" | 37 #include "WebElement.h" |
| 44 #include "WebFormElement.h" | 38 #include "WebFormElement.h" |
| 45 #include "WebFrameImpl.h" | 39 #include "WebFrameImpl.h" |
| 46 #include "WebNodeCollection.h" | 40 #include "WebNodeCollection.h" |
| 47 #include "WebNodeList.h" | 41 #include "WebNodeList.h" |
| 48 #include "core/accessibility/AXObjectCache.h" | 42 #include "core/accessibility/AXObjectCache.h" |
| 49 #include "core/css/CSSParserMode.h" | 43 #include "core/css/CSSParserMode.h" |
| 50 #include "core/css/StyleSheetContents.h" | 44 #include "core/css/StyleSheetContents.h" |
| 51 #include "core/dom/Document.h" | 45 #include "core/dom/Document.h" |
| 52 #include "core/dom/DocumentStyleSheetCollection.h" | 46 #include "core/dom/DocumentStyleSheetCollection.h" |
| 53 #include "core/dom/DocumentType.h" | 47 #include "core/dom/DocumentType.h" |
| 54 #include "core/dom/Element.h" | 48 #include "core/dom/Element.h" |
| 55 #include "core/dom/NodeList.h" | 49 #include "core/dom/NodeList.h" |
| 50 #include "core/html/HTMLAllCollection.h" |
| 51 #include "core/html/HTMLBodyElement.h" |
| 52 #include "core/html/HTMLCollection.h" |
| 53 #include "core/html/HTMLElement.h" |
| 54 #include "core/html/HTMLFormElement.h" |
| 55 #include "core/html/HTMLHeadElement.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 |