| 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 "AXObjectCache.h" |  | 
| 35 #include "CSSParserMode.h" | 34 #include "CSSParserMode.h" | 
| 36 #include "Document.h" | 35 #include "Document.h" | 
| 37 #include "DocumentLoader.h" | 36 #include "DocumentLoader.h" | 
| 38 #include "DocumentStyleSheetCollection.h" | 37 #include "DocumentStyleSheetCollection.h" | 
| 39 #include "DocumentType.h" | 38 #include "DocumentType.h" | 
| 40 #include "Element.h" | 39 #include "Element.h" | 
| 41 #include "HTMLAllCollection.h" | 40 #include "HTMLAllCollection.h" | 
| 42 #include "HTMLBodyElement.h" | 41 #include "HTMLBodyElement.h" | 
| 43 #include "HTMLCollection.h" | 42 #include "HTMLCollection.h" | 
| 44 #include "HTMLElement.h" | 43 #include "HTMLElement.h" | 
| 45 #include "HTMLFormElement.h" | 44 #include "HTMLFormElement.h" | 
| 46 #include "HTMLHeadElement.h" | 45 #include "HTMLHeadElement.h" | 
| 47 #include "NodeList.h" | 46 #include "NodeList.h" | 
| 48 #include "RenderObject.h" | 47 #include "RenderObject.h" | 
| 49 #include "SecurityOrigin.h" | 48 #include "SecurityOrigin.h" | 
| 50 #include "StyleSheetContents.h" | 49 #include "StyleSheetContents.h" | 
| 51 #include "WebAccessibilityObject.h" | 50 #include "WebAccessibilityObject.h" | 
| 52 #include "WebDOMEvent.h" | 51 #include "WebDOMEvent.h" | 
| 53 #include "WebDocumentType.h" | 52 #include "WebDocumentType.h" | 
| 54 #include "WebElement.h" | 53 #include "WebElement.h" | 
| 55 #include "WebFormElement.h" | 54 #include "WebFormElement.h" | 
| 56 #include "WebFrameImpl.h" | 55 #include "WebFrameImpl.h" | 
| 57 #include "WebNodeCollection.h" | 56 #include "WebNodeCollection.h" | 
| 58 #include "WebNodeList.h" | 57 #include "WebNodeList.h" | 
|  | 58 #include "core/accessibility/AXObjectCache.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 | 
| 66 WebURL WebDocument::url() const | 66 WebURL WebDocument::url() const | 
| 67 { | 67 { | 
| 68     return constUnwrap<Document>()->url(); | 68     return constUnwrap<Document>()->url(); | 
| (...skipping 213 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 | 
|---|