Chromium Code Reviews| Index: Source/core/html/parser/HTMLDocumentParser.h |
| diff --git a/Source/core/html/parser/HTMLDocumentParser.h b/Source/core/html/parser/HTMLDocumentParser.h |
| index f62d60f07ea5d88347046fd1eaaa3f45f63612f1..e06119d74cac4e3335b6204f6c07342f51337931 100644 |
| --- a/Source/core/html/parser/HTMLDocumentParser.h |
| +++ b/Source/core/html/parser/HTMLDocumentParser.h |
| @@ -49,6 +49,11 @@ |
| #include "wtf/WeakPtr.h" |
| #include "wtf/text/TextPosition.h" |
| +namespace blink { |
| +class WebParserResourceBridge; |
| +class WebThread; |
| +} |
| + |
| namespace WebCore { |
| class BackgroundHTMLParser; |
| @@ -62,6 +67,7 @@ class HTMLTreeBuilder; |
| class HTMLResourcePreloader; |
| class ScriptController; |
| class ScriptSourceCode; |
| +class WebParserResourceBridge; |
| class PumpSession; |
| @@ -98,10 +104,12 @@ public: |
| }; |
| void didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>); |
| void didReceiveEncodingDataFromBackgroundParser(const DocumentEncodingData&); |
| + static void destructResourceBridge(PassOwnPtr<blink::WebParserResourceBridge>); |
|
abarth-chromium
2013/12/18 18:28:49
destruct -> destroy
|
| virtual void appendBytes(const char* bytes, size_t length) OVERRIDE; |
| virtual void flush() OVERRIDE; |
| virtual void setDecoder(PassOwnPtr<TextResourceDecoder>) OVERRIDE; |
| + virtual void parserResourceMessageFilterAdded() OVERRIDE; |
| UseCounter* useCounter() { return UseCounter::getFrom(contextForParsingSession()); } |
| @@ -205,8 +213,9 @@ private: |
| bool m_isPinnedToMainThread; |
| bool m_endWasDelayed; |
| - bool m_haveBackgroundParser; |
| unsigned m_pumpSessionNestingLevel; |
| + blink::WebThread* m_parserThread; |
| + bool m_parserThreadIsStandalone; |
| }; |
| } |