| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 void detach() final; | 168 void detach() final; |
| 169 bool hasInsertionPoint() final; | 169 bool hasInsertionPoint() final; |
| 170 void prepareToStopParsing() final; | 170 void prepareToStopParsing() final; |
| 171 void stopParsing() final; | 171 void stopParsing() final; |
| 172 bool isWaitingForScripts() const final; | 172 bool isWaitingForScripts() const final; |
| 173 bool isExecutingScript() const final; | 173 bool isExecutingScript() const final; |
| 174 void executeScriptsWaitingForResources() final; | 174 void executeScriptsWaitingForResources() final; |
| 175 void documentElementAvailable() override; | 175 void documentElementAvailable() override; |
| 176 | 176 |
| 177 // HTMLParserScriptRunnerHost | 177 // HTMLParserScriptRunnerHost |
| 178 void notifyScriptLoaded(Resource*) final; | 178 void notifyScriptLoaded(PendingScript*) final; |
| 179 HTMLInputStream& inputStream() final { return m_input; } | 179 HTMLInputStream& inputStream() final { return m_input; } |
| 180 bool hasPreloadScanner() const final { | 180 bool hasPreloadScanner() const final { |
| 181 return m_preloadScanner.get() && !shouldUseThreading(); | 181 return m_preloadScanner.get() && !shouldUseThreading(); |
| 182 } | 182 } |
| 183 void appendCurrentInputStreamToPreloadScannerAndScan() final; | 183 void appendCurrentInputStreamToPreloadScannerAndScan() final; |
| 184 | 184 |
| 185 void startBackgroundParser(); | 185 void startBackgroundParser(); |
| 186 void stopBackgroundParser(); | 186 void stopBackgroundParser(); |
| 187 void validateSpeculations(std::unique_ptr<TokenizedChunk> lastChunk); | 187 void validateSpeculations(std::unique_ptr<TokenizedChunk> lastChunk); |
| 188 void discardSpeculationsAndResumeFrom( | 188 void discardSpeculationsAndResumeFrom( |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |