Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Side by Side Diff: Source/core/xml/parser/XMLDocumentParser.cpp

Issue 14022018: Absolutify paths to html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/xml/XSLTProcessor.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA. 23 * Boston, MA 02110-1301, USA.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/xml/parser/XMLDocumentParser.h" 27 #include "core/xml/parser/XMLDocumentParser.h"
28 28
29 #include <libxml/parser.h> 29 #include <libxml/parser.h>
30 #include <libxml/parserInternals.h> 30 #include <libxml/parserInternals.h>
31 #include <libxslt/xslt.h> 31 #include <libxslt/xslt.h>
32 #include "HTMLHtmlElement.h"
33 #include "HTMLLinkElement.h"
34 #include "HTMLNames.h" 32 #include "HTMLNames.h"
35 #include "HTMLStyleElement.h"
36 #include "HTMLTemplateElement.h"
37 #include "XMLNSNames.h" 33 #include "XMLNSNames.h"
38 #include "bindings/v8/ScriptSourceCode.h" 34 #include "bindings/v8/ScriptSourceCode.h"
39 #include "bindings/v8/ScriptValue.h" 35 #include "bindings/v8/ScriptValue.h"
40 #include "core/dom/CDATASection.h" 36 #include "core/dom/CDATASection.h"
41 #include "core/dom/Comment.h" 37 #include "core/dom/Comment.h"
42 #include "core/dom/Document.h" 38 #include "core/dom/Document.h"
43 #include "core/dom/DocumentFragment.h" 39 #include "core/dom/DocumentFragment.h"
44 #include "core/dom/DocumentType.h" 40 #include "core/dom/DocumentType.h"
45 #include "core/dom/ExceptionCodePlaceholder.h" 41 #include "core/dom/ExceptionCodePlaceholder.h"
46 #include "core/dom/ProcessingInstruction.h" 42 #include "core/dom/ProcessingInstruction.h"
47 #include "core/dom/ScriptElement.h" 43 #include "core/dom/ScriptElement.h"
48 #include "core/dom/TransformSource.h" 44 #include "core/dom/TransformSource.h"
49 #include "core/dom/TreeDepthLimit.h" 45 #include "core/dom/TreeDepthLimit.h"
46 #include "core/html/HTMLHtmlElement.h"
47 #include "core/html/HTMLLinkElement.h"
48 #include "core/html/HTMLStyleElement.h"
49 #include "core/html/HTMLTemplateElement.h"
50 #include "core/html/parser/HTMLEntityParser.h" 50 #include "core/html/parser/HTMLEntityParser.h"
51 #include "core/loader/FrameLoader.h" 51 #include "core/loader/FrameLoader.h"
52 #include "core/loader/ImageLoader.h" 52 #include "core/loader/ImageLoader.h"
53 #include "core/loader/TextResourceDecoder.h" 53 #include "core/loader/TextResourceDecoder.h"
54 #include "core/loader/cache/CachedResourceLoader.h" 54 #include "core/loader/cache/CachedResourceLoader.h"
55 #include "core/loader/cache/CachedScript.h" 55 #include "core/loader/cache/CachedScript.h"
56 #include "core/page/Frame.h" 56 #include "core/page/Frame.h"
57 #include "core/page/FrameView.h" 57 #include "core/page/FrameView.h"
58 #include "core/page/SecurityOrigin.h" 58 #include "core/page/SecurityOrigin.h"
59 #include "core/platform/network/ResourceError.h" 59 #include "core/platform/network/ResourceError.h"
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 sax.startElementNs = attributesStartElementNsHandler; 1752 sax.startElementNs = attributesStartElementNsHandler;
1753 sax.initialized = XML_SAX2_MAGIC; 1753 sax.initialized = XML_SAX2_MAGIC;
1754 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state); 1754 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state);
1755 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; 1755 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />";
1756 xmlParseChunk(parser->context(), reinterpret_cast<const char*>(parseString.c haracters()), parseString.length() * sizeof(UChar), 1); 1756 xmlParseChunk(parser->context(), reinterpret_cast<const char*>(parseString.c haracters()), parseString.length() * sizeof(UChar), 1);
1757 attrsOK = state.gotAttributes; 1757 attrsOK = state.gotAttributes;
1758 return state.attributes; 1758 return state.attributes;
1759 } 1759 }
1760 1760
1761 } // namespace WebCore 1761 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XSLTProcessor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698