| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "wtf/Deque.h" | 47 #include "wtf/Deque.h" |
| 48 #include "wtf/OwnPtr.h" | 48 #include "wtf/OwnPtr.h" |
| 49 #include "wtf/WeakPtr.h" | 49 #include "wtf/WeakPtr.h" |
| 50 #include "wtf/text/TextPosition.h" | 50 #include "wtf/text/TextPosition.h" |
| 51 | 51 |
| 52 namespace blink { | 52 namespace blink { |
| 53 | 53 |
| 54 class BackgroundHTMLParser; | 54 class BackgroundHTMLParser; |
| 55 class CompactHTMLToken; | 55 class CompactHTMLToken; |
| 56 class Document; | 56 class Document; |
| 57 class DocumentEncodingData; |
| 57 class DocumentFragment; | 58 class DocumentFragment; |
| 58 class HTMLDocument; | 59 class HTMLDocument; |
| 59 class HTMLParserScheduler; | 60 class HTMLParserScheduler; |
| 60 class HTMLScriptRunner; | 61 class HTMLScriptRunner; |
| 61 class HTMLTreeBuilder; | 62 class HTMLTreeBuilder; |
| 62 class HTMLResourcePreloader; | 63 class HTMLResourcePreloader; |
| 63 class ScriptController; | |
| 64 class ScriptSourceCode; | |
| 65 | 64 |
| 66 class PumpSession; | 65 class PumpSession; |
| 67 | 66 |
| 68 class HTMLDocumentParser : public ScriptableDocumentParser, private HTMLScriptR
unnerHost { | 67 class HTMLDocumentParser : public ScriptableDocumentParser, private HTMLScriptR
unnerHost { |
| 69 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 68 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 70 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLDocumentParser); | 69 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLDocumentParser); |
| 71 public: | 70 public: |
| 72 static PassRefPtrWillBeRawPtr<HTMLDocumentParser> create(HTMLDocument& docum
ent, bool reportErrors) | 71 static PassRefPtrWillBeRawPtr<HTMLDocumentParser> create(HTMLDocument& docum
ent, bool reportErrors) |
| 73 { | 72 { |
| 74 return adoptRefWillBeNoop(new HTMLDocumentParser(document, reportErrors)
); | 73 return adoptRefWillBeNoop(new HTMLDocumentParser(document, reportErrors)
); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 202 |
| 204 bool m_isPinnedToMainThread; | 203 bool m_isPinnedToMainThread; |
| 205 bool m_endWasDelayed; | 204 bool m_endWasDelayed; |
| 206 bool m_haveBackgroundParser; | 205 bool m_haveBackgroundParser; |
| 207 unsigned m_pumpSessionNestingLevel; | 206 unsigned m_pumpSessionNestingLevel; |
| 208 }; | 207 }; |
| 209 | 208 |
| 210 } | 209 } |
| 211 | 210 |
| 212 #endif | 211 #endif |
| OLD | NEW |