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

Side by Side Diff: Source/core/html/parser/HTMLConstructionSite.cpp

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 #include "config.h" 27 #include "config.h"
28 #include "core/html/parser/HTMLTreeBuilder.h" 28 #include "core/html/parser/HTMLTreeBuilder.h"
29 29
30 #include "HTMLElementFactory.h" 30 #include "HTMLElementFactory.h"
31 #include "HTMLNames.h" 31 #include "HTMLNames.h"
32 #include "core/dom/Comment.h" 32 #include "core/dom/Comment.h"
33 #include "core/dom/DocumentFragment.h" 33 #include "core/dom/DocumentFragment.h"
34 #include "core/dom/DocumentType.h" 34 #include "core/dom/DocumentType.h"
35 #include "core/dom/Element.h" 35 #include "core/dom/Element.h"
36 #include "core/dom/Text.h" 36 #include "core/dom/Text.h"
37 #include "core/html/HTMLDocument.h"
38 #include "core/html/HTMLFormElement.h" 37 #include "core/html/HTMLFormElement.h"
39 #include "core/html/HTMLHtmlElement.h" 38 #include "core/html/HTMLHtmlElement.h"
40 #include "core/html/HTMLPlugInElement.h"
41 #include "core/html/HTMLScriptElement.h" 39 #include "core/html/HTMLScriptElement.h"
42 #include "core/html/HTMLTemplateElement.h" 40 #include "core/html/HTMLTemplateElement.h"
43 #include "core/html/parser/AtomicHTMLToken.h" 41 #include "core/html/parser/AtomicHTMLToken.h"
44 #include "core/html/parser/HTMLParserIdioms.h" 42 #include "core/html/parser/HTMLParserIdioms.h"
45 #include "core/html/parser/HTMLStackItem.h" 43 #include "core/html/parser/HTMLStackItem.h"
46 #include "core/html/parser/HTMLToken.h" 44 #include "core/html/parser/HTMLToken.h"
47 #include "core/html/parser/HTMLTokenizer.h"
48 #include "core/loader/FrameLoader.h" 45 #include "core/loader/FrameLoader.h"
49 #include "core/loader/FrameLoaderClient.h" 46 #include "core/loader/FrameLoaderClient.h"
50 #include "core/page/Frame.h" 47 #include "core/page/Frame.h"
51 #include "core/page/Settings.h"
52 #include "core/platform/LocalizedStrings.h"
53 #include "core/platform/NotImplemented.h" 48 #include "core/platform/NotImplemented.h"
54 #include "wtf/UnusedParam.h"
55 #include <limits> 49 #include <limits>
56 50
57 namespace WebCore { 51 namespace WebCore {
58 52
59 using namespace HTMLNames; 53 using namespace HTMLNames;
60 54
61 static const unsigned maximumHTMLParserDOMTreeDepth = 512; 55 static const unsigned maximumHTMLParserDOMTreeDepth = 512;
62 56
63 static inline void setAttributes(Element* element, AtomicHTMLToken* token, Parse rContentPolicy parserContentPolicy) 57 static inline void setAttributes(Element* element, AtomicHTMLToken* token, Parse rContentPolicy parserContentPolicy)
64 { 58 {
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 { 758 {
765 HTMLConstructionSiteTask task(HTMLConstructionSiteTask::Insert); 759 HTMLConstructionSiteTask task(HTMLConstructionSiteTask::Insert);
766 findFosterSite(task); 760 findFosterSite(task);
767 task.child = node; 761 task.child = node;
768 ASSERT(task.parent); 762 ASSERT(task.parent);
769 763
770 m_taskQueue.append(task); 764 m_taskQueue.append(task);
771 } 765 }
772 766
773 } 767 }
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLConstructionSite.h ('k') | Source/core/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698