| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 
| 3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) | 3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) | 
| 4  *           (C) 2001 Dirk Mueller (mueller@kde.org) | 4  *           (C) 2001 Dirk Mueller (mueller@kde.org) | 
| 5  * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5  * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 
| 6  * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) | 6  * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) | 
| 7  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
     orchmobile.com/) | 7  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
     orchmobile.com/) | 
| 8  * | 8  * | 
| 9  * This library is free software; you can redistribute it and/or | 9  * This library is free software; you can redistribute it and/or | 
| 10  * modify it under the terms of the GNU Library General Public | 10  * modify it under the terms of the GNU Library General Public | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
| 25 #include "config.h" | 25 #include "config.h" | 
| 26 #include "core/dom/DOMImplementation.h" | 26 #include "core/dom/DOMImplementation.h" | 
| 27 | 27 | 
| 28 #include "HTMLNames.h" | 28 #include "HTMLNames.h" | 
| 29 #include "SVGNames.h" | 29 #include "SVGNames.h" | 
| 30 #include "bindings/v8/ExceptionState.h" | 30 #include "bindings/v8/ExceptionState.h" | 
| 31 #include "core/css/CSSStyleSheet.h" | 31 #include "core/css/CSSStyleSheet.h" | 
| 32 #include "core/css/MediaList.h" | 32 #include "core/css/MediaList.h" | 
| 33 #include "core/css/StyleSheetContents.h" | 33 #include "core/css/StyleSheetContents.h" | 
| 34 #include "core/dom/ContextFeatures.h" | 34 #include "core/dom/ContextFeatures.h" | 
| 35 #include "core/dom/CustomElementRegistrationContext.h" |  | 
| 36 #include "core/dom/DocumentInit.h" | 35 #include "core/dom/DocumentInit.h" | 
| 37 #include "core/dom/DocumentType.h" | 36 #include "core/dom/DocumentType.h" | 
| 38 #include "core/dom/Element.h" | 37 #include "core/dom/Element.h" | 
| 39 #include "core/dom/ExceptionCode.h" | 38 #include "core/dom/ExceptionCode.h" | 
|  | 39 #include "core/dom/custom/CustomElementRegistrationContext.h" | 
| 40 #include "core/html/HTMLDocument.h" | 40 #include "core/html/HTMLDocument.h" | 
| 41 #include "core/html/HTMLMediaElement.h" | 41 #include "core/html/HTMLMediaElement.h" | 
| 42 #include "core/html/HTMLViewSourceDocument.h" | 42 #include "core/html/HTMLViewSourceDocument.h" | 
| 43 #include "core/html/ImageDocument.h" | 43 #include "core/html/ImageDocument.h" | 
| 44 #include "core/html/MediaDocument.h" | 44 #include "core/html/MediaDocument.h" | 
| 45 #include "core/html/PluginDocument.h" | 45 #include "core/html/PluginDocument.h" | 
| 46 #include "core/html/TextDocument.h" | 46 #include "core/html/TextDocument.h" | 
| 47 #include "core/loader/FrameLoader.h" | 47 #include "core/loader/FrameLoader.h" | 
| 48 #include "core/page/Frame.h" | 48 #include "core/page/Frame.h" | 
| 49 #include "core/page/Page.h" | 49 #include "core/page/Page.h" | 
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 354         return TextDocument::create(DocumentInit(url, frame)); | 354         return TextDocument::create(DocumentInit(url, frame)); | 
| 355     if (type == "image/svg+xml") | 355     if (type == "image/svg+xml") | 
| 356         return SVGDocument::create(DocumentInit(url, frame)); | 356         return SVGDocument::create(DocumentInit(url, frame)); | 
| 357     if (isXMLMIMEType(type)) | 357     if (isXMLMIMEType(type)) | 
| 358         return Document::create(DocumentInit(url, frame)); | 358         return Document::create(DocumentInit(url, frame)); | 
| 359 | 359 | 
| 360     return HTMLDocument::create(DocumentInit(url, frame)); | 360     return HTMLDocument::create(DocumentInit(url, frame)); | 
| 361 } | 361 } | 
| 362 | 362 | 
| 363 } | 363 } | 
| OLD | NEW | 
|---|