| 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, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2008 Holger Hans Peter Freyther | 7 * Copyright (C) 2008 Holger Hans Peter Freyther |
| 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "core/dom/CDATASection.h" | 41 #include "core/dom/CDATASection.h" |
| 42 #include "core/dom/Comment.h" | 42 #include "core/dom/Comment.h" |
| 43 #include "core/dom/Document.h" | 43 #include "core/dom/Document.h" |
| 44 #include "core/dom/DocumentFragment.h" | 44 #include "core/dom/DocumentFragment.h" |
| 45 #include "core/dom/DocumentType.h" | 45 #include "core/dom/DocumentType.h" |
| 46 #include "core/dom/ProcessingInstruction.h" | 46 #include "core/dom/ProcessingInstruction.h" |
| 47 #include "core/dom/ScriptLoader.h" | 47 #include "core/dom/ScriptLoader.h" |
| 48 #include "core/dom/TransformSource.h" | 48 #include "core/dom/TransformSource.h" |
| 49 #include "core/fetch/ResourceFetcher.h" | 49 #include "core/fetch/ResourceFetcher.h" |
| 50 #include "core/fetch/ScriptResource.h" | 50 #include "core/fetch/ScriptResource.h" |
| 51 #include "core/fetch/TextResourceDecoder.h" |
| 51 #include "core/frame/Frame.h" | 52 #include "core/frame/Frame.h" |
| 52 #include "core/html/HTMLHtmlElement.h" | 53 #include "core/html/HTMLHtmlElement.h" |
| 53 #include "core/html/HTMLTemplateElement.h" | 54 #include "core/html/HTMLTemplateElement.h" |
| 54 #include "core/html/parser/HTMLEntityParser.h" | 55 #include "core/html/parser/HTMLEntityParser.h" |
| 55 #include "core/html/parser/TextResourceDecoder.h" | |
| 56 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
| 57 #include "core/loader/ImageLoader.h" | 57 #include "core/loader/ImageLoader.h" |
| 58 #include "core/frame/UseCounter.h" | 58 #include "core/frame/UseCounter.h" |
| 59 #include "core/xml/XMLTreeViewer.h" | 59 #include "core/xml/XMLTreeViewer.h" |
| 60 #include "core/xml/parser/XMLDocumentParserScope.h" | 60 #include "core/xml/parser/XMLDocumentParserScope.h" |
| 61 #include "core/xml/parser/XMLParserInput.h" | 61 #include "core/xml/parser/XMLParserInput.h" |
| 62 #include "platform/SharedBuffer.h" | 62 #include "platform/SharedBuffer.h" |
| 63 #include "platform/network/ResourceError.h" | 63 #include "platform/network/ResourceError.h" |
| 64 #include "platform/network/ResourceRequest.h" | 64 #include "platform/network/ResourceRequest.h" |
| 65 #include "platform/network/ResourceResponse.h" | 65 #include "platform/network/ResourceResponse.h" |
| (...skipping 1566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1632 sax.initialized = XML_SAX2_MAGIC; | 1632 sax.initialized = XML_SAX2_MAGIC; |
| 1633 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); | 1633 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); |
| 1634 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; | 1634 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; |
| 1635 parseChunk(parser->context(), parseString); | 1635 parseChunk(parser->context(), parseString); |
| 1636 finishParsing(parser->context()); | 1636 finishParsing(parser->context()); |
| 1637 attrsOK = state.gotAttributes; | 1637 attrsOK = state.gotAttributes; |
| 1638 return state.attributes; | 1638 return state.attributes; |
| 1639 } | 1639 } |
| 1640 | 1640 |
| 1641 } // namespace WebCore | 1641 } // namespace WebCore |
| OLD | NEW |