Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: Source/core/html/parser/HTMLDocumentParser.h

Issue 657753002: Remove state variables in PumpSession as they are no longer used. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 void startBackgroundParser(); 144 void startBackgroundParser();
145 void stopBackgroundParser(); 145 void stopBackgroundParser();
146 void validateSpeculations(PassOwnPtr<ParsedChunk> lastChunk); 146 void validateSpeculations(PassOwnPtr<ParsedChunk> lastChunk);
147 void discardSpeculationsAndResumeFrom(PassOwnPtr<ParsedChunk> lastChunk, Pas sOwnPtr<HTMLToken>, PassOwnPtr<HTMLTokenizer>); 147 void discardSpeculationsAndResumeFrom(PassOwnPtr<ParsedChunk> lastChunk, Pas sOwnPtr<HTMLToken>, PassOwnPtr<HTMLTokenizer>);
148 void processParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>); 148 void processParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>);
149 void pumpPendingSpeculations(); 149 void pumpPendingSpeculations();
150 150
151 Document* contextForParsingSession(); 151 Document* contextForParsingSession();
152 152
153 bool canTakeNextToken(PumpSession&); 153 bool canTakeNextToken();
154 void pumpTokenizer(); 154 void pumpTokenizer();
155 void pumpTokenizerIfPossible(); 155 void pumpTokenizerIfPossible();
156 void constructTreeFromHTMLToken(HTMLToken&); 156 void constructTreeFromHTMLToken(HTMLToken&);
157 void constructTreeFromCompactHTMLToken(const CompactHTMLToken&); 157 void constructTreeFromCompactHTMLToken(const CompactHTMLToken&);
158 158
159 void runScriptsForPausedTreeBuilder(); 159 void runScriptsForPausedTreeBuilder();
160 void resumeParsingAfterScriptExecution(); 160 void resumeParsingAfterScriptExecution();
161 161
162 void attemptToEnd(); 162 void attemptToEnd();
163 void endIfDelayed(); 163 void endIfDelayed();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 bool m_isPinnedToMainThread; 199 bool m_isPinnedToMainThread;
200 bool m_endWasDelayed; 200 bool m_endWasDelayed;
201 bool m_haveBackgroundParser; 201 bool m_haveBackgroundParser;
202 unsigned m_pumpSessionNestingLevel; 202 unsigned m_pumpSessionNestingLevel;
203 }; 203 };
204 204
205 } 205 }
206 206
207 #endif 207 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698