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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "sky/engine/wtf/text/TextPosition.h" | 43 #include "sky/engine/wtf/text/TextPosition.h" |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 class BackgroundHTMLParser; | 47 class BackgroundHTMLParser; |
48 class CompactHTMLToken; | 48 class CompactHTMLToken; |
49 class Document; | 49 class Document; |
50 class Element; | 50 class Element; |
51 class HTMLParserScheduler; | 51 class HTMLParserScheduler; |
52 class HTMLTreeBuilder; | 52 class HTMLTreeBuilder; |
53 class ScriptController; | |
54 class ScriptSourceCode; | 53 class ScriptSourceCode; |
55 | 54 |
56 class PumpSession; | 55 class PumpSession; |
57 | 56 |
58 class HTMLDocumentParser : public DocumentParser { | 57 class HTMLDocumentParser : public DocumentParser { |
59 WTF_MAKE_FAST_ALLOCATED; | 58 WTF_MAKE_FAST_ALLOCATED; |
60 public: | 59 public: |
61 static PassRefPtr<HTMLDocumentParser> create(Document& document, bool report
Errors) | 60 static PassRefPtr<HTMLDocumentParser> create(Document& document, bool report
Errors) |
62 { | 61 { |
63 return adoptRef(new HTMLDocumentParser(document, reportErrors)); | 62 return adoptRef(new HTMLDocumentParser(document, reportErrors)); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 127 |
129 bool m_isFragment; | 128 bool m_isFragment; |
130 bool m_endWasDelayed; | 129 bool m_endWasDelayed; |
131 bool m_haveBackgroundParser; | 130 bool m_haveBackgroundParser; |
132 unsigned m_pumpSessionNestingLevel; | 131 unsigned m_pumpSessionNestingLevel; |
133 }; | 132 }; |
134 | 133 |
135 } | 134 } |
136 | 135 |
137 #endif // SKY_ENGINE_CORE_HTML_PARSER_HTMLDOCUMENTPARSER_H_ | 136 #endif // SKY_ENGINE_CORE_HTML_PARSER_HTMLDOCUMENTPARSER_H_ |
OLD | NEW |