| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2  * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 
| 3  * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. | 3  * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. | 
| 4  * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 4  * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 
| 5  * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 5  * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 
| 6  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 6  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 
| 7  * (http://www.torchmobile.com/) | 7  * (http://www.torchmobile.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 | 
| 11  * License as published by the Free Software Foundation; either | 11  * License as published by the Free Software Foundation; either | 
| 12  * version 2 of the License, or (at your option) any later version. | 12  * version 2 of the License, or (at your option) any later version. | 
| 13  * | 13  * | 
| 14  * This library is distributed in the hope that it will be useful, | 14  * This library is distributed in the hope that it will be useful, | 
| 15  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 15  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| 16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
| 17  * Library General Public License for more details. | 17  * Library General Public License for more details. | 
| 18  * | 18  * | 
| 19  * You should have received a copy of the GNU Library General Public License | 19  * You should have received a copy of the GNU Library General Public License | 
| 20  * along with this library; see the file COPYING.LIB.  If not, write to | 20  * along with this library; see the file COPYING.LIB.  If not, write to | 
| 21  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 
| 22  * Boston, MA 02110-1301, USA. | 22  * Boston, MA 02110-1301, USA. | 
| 23  * | 23  * | 
| 24  */ | 24  */ | 
| 25 | 25 | 
| 26 #ifndef XMLDocumentParser_h | 26 #ifndef XMLDocumentParser_h | 
| 27 #define XMLDocumentParser_h | 27 #define XMLDocumentParser_h | 
| 28 | 28 | 
|  | 29 #include <libxml/tree.h> | 
|  | 30 #include <memory> | 
| 29 #include "core/dom/ParserContentPolicy.h" | 31 #include "core/dom/ParserContentPolicy.h" | 
| 30 #include "core/dom/ScriptableDocumentParser.h" | 32 #include "core/dom/ScriptableDocumentParser.h" | 
| 31 #include "core/loader/resource/ScriptResource.h" | 33 #include "core/loader/resource/ScriptResource.h" | 
| 32 #include "core/xml/parser/XMLErrors.h" | 34 #include "core/xml/parser/XMLErrors.h" | 
| 33 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" | 
| 34 #include "platform/loader/fetch/ResourceClient.h" | 36 #include "platform/loader/fetch/ResourceClient.h" | 
| 35 #include "platform/text/SegmentedString.h" | 37 #include "platform/text/SegmentedString.h" | 
| 36 #include "wtf/Compiler.h" | 38 #include "wtf/Compiler.h" | 
| 37 #include "wtf/HashMap.h" | 39 #include "wtf/HashMap.h" | 
| 38 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" | 
| 39 #include "wtf/text/CString.h" | 41 #include "wtf/text/CString.h" | 
| 40 #include "wtf/text/StringHash.h" | 42 #include "wtf/text/StringHash.h" | 
| 41 #include <libxml/tree.h> |  | 
| 42 #include <memory> |  | 
| 43 | 43 | 
| 44 namespace blink { | 44 namespace blink { | 
| 45 | 45 | 
| 46 class ContainerNode; | 46 class ContainerNode; | 
| 47 class DocumentFragment; | 47 class DocumentFragment; | 
| 48 class Document; | 48 class Document; | 
| 49 class Element; | 49 class Element; | 
| 50 class FrameView; | 50 class FrameView; | 
| 51 class Text; | 51 class Text; | 
| 52 | 52 | 
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 220 }; | 220 }; | 
| 221 | 221 | 
| 222 xmlDocPtr xmlDocPtrForString(Document*, | 222 xmlDocPtr xmlDocPtrForString(Document*, | 
| 223                              const String& source, | 223                              const String& source, | 
| 224                              const String& url); | 224                              const String& url); | 
| 225 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); | 225 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); | 
| 226 | 226 | 
| 227 }  // namespace blink | 227 }  // namespace blink | 
| 228 | 228 | 
| 229 #endif  // XMLDocumentParser_h | 229 #endif  // XMLDocumentParser_h | 
| OLD | NEW | 
|---|