| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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<WebTaskRunner> m_loadingTaskRunner; |
| 191 OwnPtr<HTMLParserScheduler> m_parserScheduler; | 191 OwnPtrWillBeMember<HTMLParserScheduler> m_parserScheduler; |
| 192 HTMLSourceTracker m_sourceTracker; | 192 HTMLSourceTracker m_sourceTracker; |
| 193 TextPosition m_textPosition; | 193 TextPosition m_textPosition; |
| 194 XSSAuditor m_xssAuditor; | 194 XSSAuditor m_xssAuditor; |
| 195 XSSAuditorDelegate m_xssAuditorDelegate; | 195 XSSAuditorDelegate m_xssAuditorDelegate; |
| 196 | 196 |
| 197 // 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 |
| 198 // 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. |
| 199 OwnPtr<ParsedChunk> m_lastChunkBeforeScript; | 199 OwnPtr<ParsedChunk> m_lastChunkBeforeScript; |
| 200 Deque<OwnPtr<ParsedChunk>> m_speculations; | 200 Deque<OwnPtr<ParsedChunk>> m_speculations; |
| 201 WeakPtrFactory<HTMLDocumentParser> m_weakFactory; | 201 WeakPtrFactory<HTMLDocumentParser> m_weakFactory; |
| 202 WeakPtr<BackgroundHTMLParser> m_backgroundParser; | 202 WeakPtr<BackgroundHTMLParser> m_backgroundParser; |
| 203 OwnPtrWillBeMember<HTMLResourcePreloader> m_preloader; | 203 OwnPtrWillBeMember<HTMLResourcePreloader> m_preloader; |
| 204 PreloadRequestStream m_queuedPreloads; | 204 PreloadRequestStream m_queuedPreloads; |
| 205 RefPtr<ParsedChunkQueue> m_parsedChunkQueue; | 205 RefPtr<ParsedChunkQueue> m_parsedChunkQueue; |
| 206 | 206 |
| 207 bool m_shouldUseThreading; | 207 bool m_shouldUseThreading; |
| 208 bool m_endWasDelayed; | 208 bool m_endWasDelayed; |
| 209 bool m_haveBackgroundParser; | 209 bool m_haveBackgroundParser; |
| 210 bool m_tasksWereSuspended; | 210 bool m_tasksWereSuspended; |
| 211 unsigned m_pumpSessionNestingLevel; | 211 unsigned m_pumpSessionNestingLevel; |
| 212 unsigned m_pumpSpeculationsSessionNestingLevel; | 212 unsigned m_pumpSpeculationsSessionNestingLevel; |
| 213 bool m_isParsingAtLineNumber; | 213 bool m_isParsingAtLineNumber; |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 } | 216 } |
| 217 | 217 |
| 218 #endif | 218 #endif |
| OLD | NEW |