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

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

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 #include "core/html/parser/AtomicHTMLToken.h" 33 #include "core/html/parser/AtomicHTMLToken.h"
34 #include "core/html/parser/BackgroundHTMLParser.h" 34 #include "core/html/parser/BackgroundHTMLParser.h"
35 #include "core/html/parser/CompactHTMLToken.h" 35 #include "core/html/parser/CompactHTMLToken.h"
36 #include "core/html/parser/HTMLIdentifier.h" 36 #include "core/html/parser/HTMLIdentifier.h"
37 #include "core/html/parser/HTMLParserScheduler.h" 37 #include "core/html/parser/HTMLParserScheduler.h"
38 #include "core/html/parser/HTMLParserThread.h" 38 #include "core/html/parser/HTMLParserThread.h"
39 #include "core/html/parser/HTMLPreloadScanner.h" 39 #include "core/html/parser/HTMLPreloadScanner.h"
40 #include "core/html/parser/HTMLScriptRunner.h" 40 #include "core/html/parser/HTMLScriptRunner.h"
41 #include "core/html/parser/HTMLTokenizer.h" 41 #include "core/html/parser/HTMLTokenizer.h"
42 #include "core/html/parser/HTMLTreeBuilder.h" 42 #include "core/html/parser/HTMLTreeBuilder.h"
43 #include "core/html/parser/NestingLevelIncrementer.h"
44 #include "core/inspector/InspectorInstrumentation.h" 43 #include "core/inspector/InspectorInstrumentation.h"
45 #include "core/loader/DocumentLoader.h"
46 #include "core/page/ContentSecurityPolicy.h"
47 #include "core/page/Frame.h" 44 #include "core/page/Frame.h"
48 #include "core/page/Settings.h"
49 #include <wtf/Functional.h> 45 #include <wtf/Functional.h>
50 46
51 namespace WebCore { 47 namespace WebCore {
52 48
53 using namespace HTMLNames; 49 using namespace HTMLNames;
54 50
55 // This is a direct transcription of step 4 from: 51 // This is a direct transcription of step 4 from:
56 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#frag ment-case 52 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#frag ment-case
57 static HTMLTokenizer::State tokenizerStateForContextElement(Element* contextElem ent, bool reportErrors, const HTMLParserOptions& options) 53 static HTMLTokenizer::State tokenizerStateForContextElement(Element* contextElem ent, bool reportErrors, const HTMLParserOptions& options)
58 { 54 {
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 m_parserScheduler->suspend(); 932 m_parserScheduler->suspend();
937 } 933 }
938 934
939 void HTMLDocumentParser::resumeScheduledTasks() 935 void HTMLDocumentParser::resumeScheduledTasks()
940 { 936 {
941 if (m_parserScheduler) 937 if (m_parserScheduler)
942 m_parserScheduler->resume(); 938 m_parserScheduler->resume();
943 } 939 }
944 940
945 } 941 }
OLDNEW
« no previous file with comments | « Source/core/html/parser/CompactHTMLToken.cpp ('k') | Source/core/html/parser/HTMLElementStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698