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. (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 27 matching lines...) Expand all Loading... |
38 #include "core/dom/DocumentFragment.h" | 38 #include "core/dom/DocumentFragment.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" | 44 #include "core/fetch/FetchInitiatorTypeNames.h" |
45 #include "core/fetch/RawResource.h" | 45 #include "core/fetch/RawResource.h" |
46 #include "core/fetch/ResourceFetcher.h" | 46 #include "core/fetch/ResourceFetcher.h" |
47 #include "core/fetch/ScriptResource.h" | 47 #include "core/fetch/ScriptResource.h" |
48 #include "core/frame/ConsoleTypes.h" | |
49 #include "core/frame/LocalFrame.h" | 48 #include "core/frame/LocalFrame.h" |
50 #include "core/frame/UseCounter.h" | 49 #include "core/frame/UseCounter.h" |
51 #include "core/html/HTMLHtmlElement.h" | 50 #include "core/html/HTMLHtmlElement.h" |
52 #include "core/html/HTMLTemplateElement.h" | 51 #include "core/html/HTMLTemplateElement.h" |
53 #include "core/html/parser/HTMLEntityParser.h" | 52 #include "core/html/parser/HTMLEntityParser.h" |
54 #include "core/html/parser/TextResourceDecoder.h" | 53 #include "core/html/parser/TextResourceDecoder.h" |
55 #include "core/inspector/ConsoleMessage.h" | 54 #include "core/inspector/ConsoleMessage.h" |
56 #include "core/loader/FrameLoader.h" | 55 #include "core/loader/FrameLoader.h" |
57 #include "core/loader/ImageLoader.h" | 56 #include "core/loader/ImageLoader.h" |
58 #include "core/svg/graphics/SVGImage.h" | 57 #include "core/svg/graphics/SVGImage.h" |
59 #include "core/xml/DocumentXSLT.h" | 58 #include "core/xml/DocumentXSLT.h" |
60 #include "core/xml/parser/SharedBufferReader.h" | 59 #include "core/xml/parser/SharedBufferReader.h" |
61 #include "core/xml/parser/XMLDocumentParserScope.h" | 60 #include "core/xml/parser/XMLDocumentParserScope.h" |
62 #include "core/xml/parser/XMLParserInput.h" | 61 #include "core/xml/parser/XMLParserInput.h" |
63 #include "platform/RuntimeEnabledFeatures.h" | 62 #include "platform/RuntimeEnabledFeatures.h" |
64 #include "platform/SharedBuffer.h" | 63 #include "platform/SharedBuffer.h" |
65 #include "platform/TraceEvent.h" | 64 #include "platform/TraceEvent.h" |
66 #include "platform/network/ResourceError.h" | 65 #include "platform/network/ResourceError.h" |
67 #include "platform/network/ResourceRequest.h" | 66 #include "platform/network/ResourceRequest.h" |
68 #include "platform/network/ResourceResponse.h" | 67 #include "platform/network/ResourceResponse.h" |
| 68 #include "platform/v8_inspector/public/ConsoleTypes.h" |
69 #include "platform/weborigin/SecurityOrigin.h" | 69 #include "platform/weborigin/SecurityOrigin.h" |
70 #include "wtf/StringExtras.h" | 70 #include "wtf/StringExtras.h" |
71 #include "wtf/TemporaryChange.h" | 71 #include "wtf/TemporaryChange.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" |
75 #include <libxml/catalog.h> | 75 #include <libxml/catalog.h> |
76 #include <libxml/parser.h> | 76 #include <libxml/parser.h> |
77 #include <libxml/parserInternals.h> | 77 #include <libxml/parserInternals.h> |
78 #include <libxslt/xslt.h> | 78 #include <libxslt/xslt.h> |
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1637 sax.initialized = XML_SAX2_MAGIC; | 1637 sax.initialized = XML_SAX2_MAGIC; |
1638 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); | 1638 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); |
1639 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; | 1639 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; |
1640 parseChunk(parser->context(), parseString); | 1640 parseChunk(parser->context(), parseString); |
1641 finishParsing(parser->context()); | 1641 finishParsing(parser->context()); |
1642 attrsOK = state.gotAttributes; | 1642 attrsOK = state.gotAttributes; |
1643 return state.attributes; | 1643 return state.attributes; |
1644 } | 1644 } |
1645 | 1645 |
1646 } // namespace blink | 1646 } // namespace blink |
OLD | NEW |