| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 OrdinalNumber lineNumber() const final; | 89 OrdinalNumber lineNumber() const final; |
| 90 | 90 |
| 91 void suspendScheduledTasks() final; | 91 void suspendScheduledTasks() final; |
| 92 void resumeScheduledTasks() final; | 92 void resumeScheduledTasks() final; |
| 93 | 93 |
| 94 struct ParsedChunk { | 94 struct ParsedChunk { |
| 95 USING_FAST_MALLOC(ParsedChunk); | 95 USING_FAST_MALLOC(ParsedChunk); |
| 96 public: | 96 public: |
| 97 OwnPtr<CompactHTMLTokenStream> tokens; | 97 OwnPtr<CompactHTMLTokenStream> tokens; |
| 98 PreloadRequestStream preloads; | 98 PreloadRequestStream preloads; |
| 99 ViewportDescriptionWrapper viewport; |
| 99 XSSInfoStream xssInfos; | 100 XSSInfoStream xssInfos; |
| 100 HTMLTokenizer::State tokenizerState; | 101 HTMLTokenizer::State tokenizerState; |
| 101 HTMLTreeBuilderSimulator::State treeBuilderState; | 102 HTMLTreeBuilderSimulator::State treeBuilderState; |
| 102 HTMLInputCheckpoint inputCheckpoint; | 103 HTMLInputCheckpoint inputCheckpoint; |
| 103 TokenPreloadScannerCheckpoint preloadScannerCheckpoint; | 104 TokenPreloadScannerCheckpoint preloadScannerCheckpoint; |
| 104 bool startingScript; | 105 bool startingScript; |
| 105 }; | 106 }; |
| 106 void notifyPendingParsedChunks(); | 107 void notifyPendingParsedChunks(); |
| 107 void didReceiveEncodingDataFromBackgroundParser(const DocumentEncodingData&)
; | 108 void didReceiveEncodingDataFromBackgroundParser(const DocumentEncodingData&)
; |
| 108 | 109 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 PreloadRequestStream m_queuedPreloads; | 205 PreloadRequestStream m_queuedPreloads; |
| 205 RefPtr<ParsedChunkQueue> m_parsedChunkQueue; | 206 RefPtr<ParsedChunkQueue> m_parsedChunkQueue; |
| 206 | 207 |
| 207 bool m_shouldUseThreading; | 208 bool m_shouldUseThreading; |
| 208 bool m_endWasDelayed; | 209 bool m_endWasDelayed; |
| 209 bool m_haveBackgroundParser; | 210 bool m_haveBackgroundParser; |
| 210 bool m_tasksWereSuspended; | 211 bool m_tasksWereSuspended; |
| 211 unsigned m_pumpSessionNestingLevel; | 212 unsigned m_pumpSessionNestingLevel; |
| 212 unsigned m_pumpSpeculationsSessionNestingLevel; | 213 unsigned m_pumpSpeculationsSessionNestingLevel; |
| 213 bool m_isParsingAtLineNumber; | 214 bool m_isParsingAtLineNumber; |
| 215 bool m_isLoadedLinkHeaders; |
| 214 }; | 216 }; |
| 215 | 217 |
| 216 } // namespace blink | 218 } // namespace blink |
| 217 | 219 |
| 218 #endif | 220 #endif |
| OLD | NEW |