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

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

Issue 23623012: Move TextResourceDecoder from loader/ to fetch/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/XMLHttpRequest.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 24 matching lines...) Expand all
35 #include "core/dom/CDATASection.h" 35 #include "core/dom/CDATASection.h"
36 #include "core/dom/Comment.h" 36 #include "core/dom/Comment.h"
37 #include "core/dom/Document.h" 37 #include "core/dom/Document.h"
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/TransformSource.h" 42 #include "core/dom/TransformSource.h"
43 #include "core/fetch/ResourceFetcher.h" 43 #include "core/fetch/ResourceFetcher.h"
44 #include "core/fetch/ScriptResource.h" 44 #include "core/fetch/ScriptResource.h"
45 #include "core/fetch/TextResourceDecoder.h"
45 #include "core/html/HTMLHtmlElement.h" 46 #include "core/html/HTMLHtmlElement.h"
46 #include "core/html/HTMLTemplateElement.h" 47 #include "core/html/HTMLTemplateElement.h"
47 #include "core/html/parser/HTMLEntityParser.h" 48 #include "core/html/parser/HTMLEntityParser.h"
48 #include "core/loader/FrameLoader.h" 49 #include "core/loader/FrameLoader.h"
49 #include "core/loader/ImageLoader.h" 50 #include "core/loader/ImageLoader.h"
50 #include "core/loader/TextResourceDecoder.h"
51 #include "core/page/Frame.h" 51 #include "core/page/Frame.h"
52 #include "core/page/UseCounter.h" 52 #include "core/page/UseCounter.h"
53 #include "core/platform/network/ResourceError.h" 53 #include "core/platform/network/ResourceError.h"
54 #include "core/platform/network/ResourceRequest.h" 54 #include "core/platform/network/ResourceRequest.h"
55 #include "core/platform/network/ResourceResponse.h" 55 #include "core/platform/network/ResourceResponse.h"
56 #include "core/xml/XMLErrors.h" 56 #include "core/xml/XMLErrors.h"
57 #include "core/xml/XMLTreeViewer.h" 57 #include "core/xml/XMLTreeViewer.h"
58 #include "core/xml/parser/XMLDocumentParserScope.h" 58 #include "core/xml/parser/XMLDocumentParserScope.h"
59 #include "core/xml/parser/XMLParserInput.h" 59 #include "core/xml/parser/XMLParserInput.h"
60 #include "weborigin/SecurityOrigin.h" 60 #include "weborigin/SecurityOrigin.h"
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 sax.initialized = XML_SAX2_MAGIC; 1614 sax.initialized = XML_SAX2_MAGIC;
1615 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state); 1615 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state);
1616 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; 1616 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />";
1617 parseChunk(parser->context(), parseString); 1617 parseChunk(parser->context(), parseString);
1618 finishParsing(parser->context()); 1618 finishParsing(parser->context());
1619 attrsOK = state.gotAttributes; 1619 attrsOK = state.gotAttributes;
1620 return state.attributes; 1620 return state.attributes;
1621 } 1621 }
1622 1622
1623 } // namespace WebCore 1623 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698