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

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

Issue 16282004: Remove unused includes from various .cpp files in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: re-add HTMLFormElement to EmptyClients for windows Created 7 years, 6 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
« no previous file with comments | « Source/core/xml/XSLTProcessorLibxslt.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 18 matching lines...) Expand all
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 <wtf/StringExtras.h> 32 #include <wtf/StringExtras.h>
33 #include <wtf/text/CString.h> 33 #include <wtf/text/CString.h>
34 #include <wtf/Threading.h> 34 #include <wtf/Threading.h>
35 #include <wtf/unicode/UTF8.h> 35 #include <wtf/unicode/UTF8.h>
36 #include <wtf/UnusedParam.h> 36 #include <wtf/UnusedParam.h>
37 #include <wtf/Vector.h> 37 #include <wtf/Vector.h>
38 #include "HTMLNames.h" 38 #include "HTMLNames.h"
39 #include "SVGNames.h"
40 #include "XMLNSNames.h" 39 #include "XMLNSNames.h"
41 #include "bindings/v8/ScriptSourceCode.h" 40 #include "bindings/v8/ScriptSourceCode.h"
42 #include "bindings/v8/ScriptValue.h"
43 #include "core/dom/CDATASection.h" 41 #include "core/dom/CDATASection.h"
44 #include "core/dom/Comment.h" 42 #include "core/dom/Comment.h"
45 #include "core/dom/Document.h" 43 #include "core/dom/Document.h"
46 #include "core/dom/DocumentFragment.h" 44 #include "core/dom/DocumentFragment.h"
47 #include "core/dom/DocumentType.h" 45 #include "core/dom/DocumentType.h"
48 #include "core/dom/ExceptionCodePlaceholder.h" 46 #include "core/dom/ExceptionCodePlaceholder.h"
49 #include "core/dom/ProcessingInstruction.h" 47 #include "core/dom/ProcessingInstruction.h"
50 #include "core/dom/ScriptElement.h" 48 #include "core/dom/ScriptElement.h"
51 #include "core/dom/TransformSource.h" 49 #include "core/dom/TransformSource.h"
52 #include "core/html/HTMLHtmlElement.h" 50 #include "core/html/HTMLHtmlElement.h"
53 #include "core/html/HTMLLinkElement.h"
54 #include "core/html/HTMLStyleElement.h"
55 #include "core/html/HTMLTemplateElement.h" 51 #include "core/html/HTMLTemplateElement.h"
56 #include "core/html/parser/HTMLEntityParser.h" 52 #include "core/html/parser/HTMLEntityParser.h"
57 #include "core/loader/FrameLoader.h" 53 #include "core/loader/FrameLoader.h"
58 #include "core/loader/ImageLoader.h" 54 #include "core/loader/ImageLoader.h"
59 #include "core/loader/TextResourceDecoder.h" 55 #include "core/loader/TextResourceDecoder.h"
60 #include "core/loader/cache/CachedResourceLoader.h" 56 #include "core/loader/cache/CachedResourceLoader.h"
61 #include "core/loader/cache/CachedScript.h" 57 #include "core/loader/cache/CachedScript.h"
62 #include "core/page/Frame.h" 58 #include "core/page/Frame.h"
63 #include "core/page/FrameView.h"
64 #include "core/page/UseCounter.h" 59 #include "core/page/UseCounter.h"
65 #include "core/platform/network/ResourceError.h" 60 #include "core/platform/network/ResourceError.h"
66 #include "core/platform/network/ResourceHandle.h"
67 #include "core/platform/network/ResourceRequest.h" 61 #include "core/platform/network/ResourceRequest.h"
68 #include "core/platform/network/ResourceResponse.h" 62 #include "core/platform/network/ResourceResponse.h"
69 #include "core/svg/SVGStyleElement.h"
70 #include "core/xml/XMLErrors.h" 63 #include "core/xml/XMLErrors.h"
71 #include "core/xml/XMLTreeViewer.h" 64 #include "core/xml/XMLTreeViewer.h"
72 #include "core/xml/parser/XMLDocumentParserScope.h" 65 #include "core/xml/parser/XMLDocumentParserScope.h"
73 #include "weborigin/SecurityOrigin.h" 66 #include "weborigin/SecurityOrigin.h"
74 67
75 using namespace std; 68 using namespace std;
76 69
77 namespace WebCore { 70 namespace WebCore {
78 71
79 using namespace HTMLNames; 72 using namespace HTMLNames;
(...skipping 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 sax.startElementNs = attributesStartElementNsHandler; 1577 sax.startElementNs = attributesStartElementNsHandler;
1585 sax.initialized = XML_SAX2_MAGIC; 1578 sax.initialized = XML_SAX2_MAGIC;
1586 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state); 1579 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state);
1587 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; 1580 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />";
1588 xmlParseChunk(parser->context(), reinterpret_cast<const char*>(parseString.c haracters()), parseString.length() * sizeof(UChar), 1); 1581 xmlParseChunk(parser->context(), reinterpret_cast<const char*>(parseString.c haracters()), parseString.length() * sizeof(UChar), 1);
1589 attrsOK = state.gotAttributes; 1582 attrsOK = state.gotAttributes;
1590 return state.attributes; 1583 return state.attributes;
1591 } 1584 }
1592 1585
1593 } // namespace WebCore 1586 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XSLTProcessorLibxslt.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698