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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 | 249 |
250 std::unique_ptr<HTMLToken> m_token; | 250 std::unique_ptr<HTMLToken> m_token; |
251 std::unique_ptr<HTMLTokenizer> m_tokenizer; | 251 std::unique_ptr<HTMLTokenizer> m_tokenizer; |
252 Member<HTMLScriptRunner> m_scriptRunner; | 252 Member<HTMLScriptRunner> m_scriptRunner; |
253 Member<HTMLTreeBuilder> m_treeBuilder; | 253 Member<HTMLTreeBuilder> m_treeBuilder; |
254 | 254 |
255 std::unique_ptr<HTMLPreloadScanner> m_preloadScanner; | 255 std::unique_ptr<HTMLPreloadScanner> m_preloadScanner; |
256 // A scanner used only for input provided to the insert() method. | 256 // A scanner used only for input provided to the insert() method. |
257 std::unique_ptr<HTMLPreloadScanner> m_insertionPreloadScanner; | 257 std::unique_ptr<HTMLPreloadScanner> m_insertionPreloadScanner; |
258 | 258 |
259 std::unique_ptr<WebTaskRunner> m_loadingTaskRunner; | 259 RefPtr<WebTaskRunner> m_loadingTaskRunner; |
260 Member<HTMLParserScheduler> m_parserScheduler; | 260 Member<HTMLParserScheduler> m_parserScheduler; |
261 HTMLSourceTracker m_sourceTracker; | 261 HTMLSourceTracker m_sourceTracker; |
262 TextPosition m_textPosition; | 262 TextPosition m_textPosition; |
263 XSSAuditor m_xssAuditor; | 263 XSSAuditor m_xssAuditor; |
264 XSSAuditorDelegate m_xssAuditorDelegate; | 264 XSSAuditorDelegate m_xssAuditorDelegate; |
265 | 265 |
266 // FIXME: m_lastChunkBeforeScript, m_tokenizer, m_token, and m_input should be | 266 // FIXME: m_lastChunkBeforeScript, m_tokenizer, m_token, and m_input should be |
267 // combined into a single state object so they can be set and cleared together | 267 // combined into a single state object so they can be set and cleared together |
268 // and passed between threads together. | 268 // and passed between threads together. |
269 std::unique_ptr<TokenizedChunk> m_lastChunkBeforeScript; | 269 std::unique_ptr<TokenizedChunk> m_lastChunkBeforeScript; |
(...skipping 20 matching lines...) Expand all Loading... |
290 bool m_tasksWereSuspended; | 290 bool m_tasksWereSuspended; |
291 unsigned m_pumpSessionNestingLevel; | 291 unsigned m_pumpSessionNestingLevel; |
292 unsigned m_pumpSpeculationsSessionNestingLevel; | 292 unsigned m_pumpSpeculationsSessionNestingLevel; |
293 bool m_isParsingAtLineNumber; | 293 bool m_isParsingAtLineNumber; |
294 bool m_triedLoadingLinkHeaders; | 294 bool m_triedLoadingLinkHeaders; |
295 }; | 295 }; |
296 | 296 |
297 } // namespace blink | 297 } // namespace blink |
298 | 298 |
299 #endif // HTMLDocumentParser_h | 299 #endif // HTMLDocumentParser_h |
OLD | NEW |