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, 2014 Apple Inc. All rights reserved. | 3 * Copyright (C) 2005, 2006, 2008, 2014 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. | 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
10 * | 10 * |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/dom/CDATASection.h" | 34 #include "core/dom/CDATASection.h" |
35 #include "core/dom/Comment.h" | 35 #include "core/dom/Comment.h" |
36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
37 #include "core/dom/DocumentFragment.h" | 37 #include "core/dom/DocumentFragment.h" |
38 #include "core/dom/DocumentParserTiming.h" | 38 #include "core/dom/DocumentParserTiming.h" |
39 #include "core/dom/DocumentType.h" | 39 #include "core/dom/DocumentType.h" |
40 #include "core/dom/ProcessingInstruction.h" | 40 #include "core/dom/ProcessingInstruction.h" |
41 #include "core/dom/ScriptLoader.h" | 41 #include "core/dom/ScriptLoader.h" |
42 #include "core/dom/StyleEngine.h" | 42 #include "core/dom/StyleEngine.h" |
43 #include "core/dom/TransformSource.h" | 43 #include "core/dom/TransformSource.h" |
44 #include "core/fetch/FetchInitiatorTypeNames.h" | |
45 #include "core/fetch/RawResource.h" | |
46 #include "core/fetch/ResourceFetcher.h" | |
47 #include "core/frame/LocalFrame.h" | 44 #include "core/frame/LocalFrame.h" |
48 #include "core/frame/UseCounter.h" | 45 #include "core/frame/UseCounter.h" |
49 #include "core/html/HTMLHtmlElement.h" | 46 #include "core/html/HTMLHtmlElement.h" |
50 #include "core/html/HTMLTemplateElement.h" | 47 #include "core/html/HTMLTemplateElement.h" |
51 #include "core/html/parser/HTMLEntityParser.h" | 48 #include "core/html/parser/HTMLEntityParser.h" |
52 #include "core/html/parser/TextResourceDecoder.h" | 49 #include "core/html/parser/TextResourceDecoder.h" |
53 #include "core/inspector/ConsoleMessage.h" | 50 #include "core/inspector/ConsoleMessage.h" |
54 #include "core/loader/FrameLoader.h" | 51 #include "core/loader/FrameLoader.h" |
55 #include "core/loader/ImageLoader.h" | 52 #include "core/loader/ImageLoader.h" |
56 #include "core/svg/graphics/SVGImage.h" | 53 #include "core/svg/graphics/SVGImage.h" |
57 #include "core/xml/DocumentXMLTreeViewer.h" | 54 #include "core/xml/DocumentXMLTreeViewer.h" |
58 #include "core/xml/DocumentXSLT.h" | 55 #include "core/xml/DocumentXSLT.h" |
59 #include "core/xml/parser/SharedBufferReader.h" | 56 #include "core/xml/parser/SharedBufferReader.h" |
60 #include "core/xml/parser/XMLDocumentParserScope.h" | 57 #include "core/xml/parser/XMLDocumentParserScope.h" |
61 #include "core/xml/parser/XMLParserInput.h" | 58 #include "core/xml/parser/XMLParserInput.h" |
62 #include "platform/RuntimeEnabledFeatures.h" | 59 #include "platform/RuntimeEnabledFeatures.h" |
63 #include "platform/SharedBuffer.h" | 60 #include "platform/SharedBuffer.h" |
64 #include "platform/instrumentation/tracing/TraceEvent.h" | 61 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 62 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" |
| 63 #include "platform/loader/fetch/RawResource.h" |
| 64 #include "platform/loader/fetch/ResourceFetcher.h" |
65 #include "platform/network/ResourceError.h" | 65 #include "platform/network/ResourceError.h" |
66 #include "platform/network/ResourceRequest.h" | 66 #include "platform/network/ResourceRequest.h" |
67 #include "platform/network/ResourceResponse.h" | 67 #include "platform/network/ResourceResponse.h" |
68 #include "platform/weborigin/SecurityOrigin.h" | 68 #include "platform/weborigin/SecurityOrigin.h" |
69 #include "wtf/AutoReset.h" | 69 #include "wtf/AutoReset.h" |
70 #include "wtf/PtrUtil.h" | 70 #include "wtf/PtrUtil.h" |
71 #include "wtf/StringExtras.h" | 71 #include "wtf/StringExtras.h" |
72 #include "wtf/Threading.h" | 72 #include "wtf/Threading.h" |
73 #include "wtf/Vector.h" | 73 #include "wtf/Vector.h" |
74 #include "wtf/text/UTF8.h" | 74 #include "wtf/text/UTF8.h" |
(...skipping 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1709 RefPtr<XMLParserContext> parser = | 1709 RefPtr<XMLParserContext> parser = |
1710 XMLParserContext::createStringParser(&sax, &state); | 1710 XMLParserContext::createStringParser(&sax, &state); |
1711 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; | 1711 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; |
1712 parseChunk(parser->context(), parseString); | 1712 parseChunk(parser->context(), parseString); |
1713 finishParsing(parser->context()); | 1713 finishParsing(parser->context()); |
1714 attrsOK = state.gotAttributes; | 1714 attrsOK = state.gotAttributes; |
1715 return state.attributes; | 1715 return state.attributes; |
1716 } | 1716 } |
1717 | 1717 |
1718 } // namespace blink | 1718 } // namespace blink |
OLD | NEW |