| OLD | NEW |
| 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "HTMLDocumentParser.h" | 27 #include "HTMLDocumentParser.h" |
| 28 | 28 |
| 29 #include "AtomicHTMLToken.h" | 29 #include "AtomicHTMLToken.h" |
| 30 #include "BackgroundHTMLParser.h" | 30 #include "BackgroundHTMLParser.h" |
| 31 #include "CompactHTMLToken.h" | 31 #include "CompactHTMLToken.h" |
| 32 #include "DocumentFragment.h" | |
| 33 #include "Element.h" | |
| 34 #include "HTMLDocument.h" | 32 #include "HTMLDocument.h" |
| 35 #include "HTMLIdentifier.h" | 33 #include "HTMLIdentifier.h" |
| 36 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
| 37 #include "HTMLParserScheduler.h" | 35 #include "HTMLParserScheduler.h" |
| 38 #include "HTMLParserThread.h" | 36 #include "HTMLParserThread.h" |
| 39 #include "HTMLPreloadScanner.h" | 37 #include "HTMLPreloadScanner.h" |
| 40 #include "HTMLScriptRunner.h" | 38 #include "HTMLScriptRunner.h" |
| 41 #include "HTMLTokenizer.h" | 39 #include "HTMLTokenizer.h" |
| 42 #include "HTMLTreeBuilder.h" | 40 #include "HTMLTreeBuilder.h" |
| 43 #include "InspectorInstrumentation.h" | 41 #include "InspectorInstrumentation.h" |
| 44 #include "NestingLevelIncrementer.h" | 42 #include "NestingLevelIncrementer.h" |
| 43 #include "core/dom/DocumentFragment.h" |
| 44 #include "core/dom/Element.h" |
| 45 #include "core/loader/DocumentLoader.h" | 45 #include "core/loader/DocumentLoader.h" |
| 46 #include "core/page/ContentSecurityPolicy.h" | 46 #include "core/page/ContentSecurityPolicy.h" |
| 47 #include "core/page/Frame.h" | 47 #include "core/page/Frame.h" |
| 48 #include "core/page/Settings.h" | 48 #include "core/page/Settings.h" |
| 49 #include <wtf/Functional.h> | 49 #include <wtf/Functional.h> |
| 50 | 50 |
| 51 namespace WebCore { | 51 namespace WebCore { |
| 52 | 52 |
| 53 using namespace HTMLNames; | 53 using namespace HTMLNames; |
| 54 | 54 |
| (...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 m_parserScheduler->suspend(); | 936 m_parserScheduler->suspend(); |
| 937 } | 937 } |
| 938 | 938 |
| 939 void HTMLDocumentParser::resumeScheduledTasks() | 939 void HTMLDocumentParser::resumeScheduledTasks() |
| 940 { | 940 { |
| 941 if (m_parserScheduler) | 941 if (m_parserScheduler) |
| 942 m_parserScheduler->resume(); | 942 m_parserScheduler->resume(); |
| 943 } | 943 } |
| 944 | 944 |
| 945 } | 945 } |
| OLD | NEW |