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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 HTMLParserOptions m_options; | 181 HTMLParserOptions m_options; |
182 HTMLInputStream m_input; | 182 HTMLInputStream m_input; |
183 | 183 |
184 OwnPtr<HTMLToken> m_token; | 184 OwnPtr<HTMLToken> m_token; |
185 OwnPtr<HTMLTokenizer> m_tokenizer; | 185 OwnPtr<HTMLTokenizer> m_tokenizer; |
186 OwnPtrWillBeMember<HTMLScriptRunner> m_scriptRunner; | 186 OwnPtrWillBeMember<HTMLScriptRunner> m_scriptRunner; |
187 OwnPtrWillBeMember<HTMLTreeBuilder> m_treeBuilder; | 187 OwnPtrWillBeMember<HTMLTreeBuilder> m_treeBuilder; |
188 OwnPtr<HTMLPreloadScanner> m_preloadScanner; | 188 OwnPtr<HTMLPreloadScanner> m_preloadScanner; |
189 OwnPtr<HTMLPreloadScanner> m_insertionPreloadScanner; | 189 OwnPtr<HTMLPreloadScanner> m_insertionPreloadScanner; |
| 190 OwnPtr<WebTaskRunner> m_loadingTaskRunner; |
190 OwnPtr<HTMLParserScheduler> m_parserScheduler; | 191 OwnPtr<HTMLParserScheduler> m_parserScheduler; |
191 HTMLSourceTracker m_sourceTracker; | 192 HTMLSourceTracker m_sourceTracker; |
192 TextPosition m_textPosition; | 193 TextPosition m_textPosition; |
193 XSSAuditor m_xssAuditor; | 194 XSSAuditor m_xssAuditor; |
194 XSSAuditorDelegate m_xssAuditorDelegate; | 195 XSSAuditorDelegate m_xssAuditorDelegate; |
195 | 196 |
196 // FIXME: m_lastChunkBeforeScript, m_tokenizer, m_token, and m_input should
be combined into a single state object | 197 // FIXME: m_lastChunkBeforeScript, m_tokenizer, m_token, and m_input should
be combined into a single state object |
197 // so they can be set and cleared together and passed between threads togeth
er. | 198 // so they can be set and cleared together and passed between threads togeth
er. |
198 OwnPtr<ParsedChunk> m_lastChunkBeforeScript; | 199 OwnPtr<ParsedChunk> m_lastChunkBeforeScript; |
199 Deque<OwnPtr<ParsedChunk>> m_speculations; | 200 Deque<OwnPtr<ParsedChunk>> m_speculations; |
200 WeakPtrFactory<HTMLDocumentParser> m_weakFactory; | 201 WeakPtrFactory<HTMLDocumentParser> m_weakFactory; |
201 WeakPtr<BackgroundHTMLParser> m_backgroundParser; | 202 WeakPtr<BackgroundHTMLParser> m_backgroundParser; |
202 OwnPtrWillBeMember<HTMLResourcePreloader> m_preloader; | 203 OwnPtrWillBeMember<HTMLResourcePreloader> m_preloader; |
203 PreloadRequestStream m_queuedPreloads; | 204 PreloadRequestStream m_queuedPreloads; |
204 | 205 |
205 bool m_shouldUseThreading; | 206 bool m_shouldUseThreading; |
206 bool m_endWasDelayed; | 207 bool m_endWasDelayed; |
207 bool m_haveBackgroundParser; | 208 bool m_haveBackgroundParser; |
208 bool m_tasksWereSuspended; | 209 bool m_tasksWereSuspended; |
209 unsigned m_pumpSessionNestingLevel; | 210 unsigned m_pumpSessionNestingLevel; |
210 unsigned m_pumpSpeculationsSessionNestingLevel; | 211 unsigned m_pumpSpeculationsSessionNestingLevel; |
211 bool m_isParsingAtLineNumber; | 212 bool m_isParsingAtLineNumber; |
212 }; | 213 }; |
213 | 214 |
214 } | 215 } |
215 | 216 |
216 #endif | 217 #endif |
OLD | NEW |