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 26 matching lines...) Expand all Loading... |
37 #include "core/dom/Comment.h" | 37 #include "core/dom/Comment.h" |
38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
39 #include "core/dom/DocumentFragment.h" | 39 #include "core/dom/DocumentFragment.h" |
40 #include "core/dom/DocumentType.h" | 40 #include "core/dom/DocumentType.h" |
41 #include "core/dom/ProcessingInstruction.h" | 41 #include "core/dom/ProcessingInstruction.h" |
42 #include "core/dom/ScriptLoader.h" | 42 #include "core/dom/ScriptLoader.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" | |
48 #include "core/frame/ConsoleTypes.h" | 47 #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" |
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1667 sax.initialized = XML_SAX2_MAGIC; | 1666 sax.initialized = XML_SAX2_MAGIC; |
1668 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); | 1667 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); |
1669 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; | 1668 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; |
1670 parseChunk(parser->context(), parseString); | 1669 parseChunk(parser->context(), parseString); |
1671 finishParsing(parser->context()); | 1670 finishParsing(parser->context()); |
1672 attrsOK = state.gotAttributes; | 1671 attrsOK = state.gotAttributes; |
1673 return state.attributes; | 1672 return state.attributes; |
1674 } | 1673 } |
1675 | 1674 |
1676 } // namespace blink | 1675 } // namespace blink |
OLD | NEW |