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