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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h

Issue 2699713002: [Script Spec Annotation] Annotate HTMLParserScriptRunner (Closed)
Patch Set: reflect comments Created 3 years, 10 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 | third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void processScriptElementInternal(Element*, 114 void processScriptElementInternal(Element*,
115 const TextPosition& scriptStartPosition); 115 const TextPosition& scriptStartPosition);
116 116
117 bool isParserBlockingScriptReady(); 117 bool isParserBlockingScriptReady();
118 118
119 void possiblyFetchBlockedDocWriteScript(PendingScript*); 119 void possiblyFetchBlockedDocWriteScript(PendingScript*);
120 120
121 RefPtr<HTMLParserReentryPermit> m_reentryPermit; 121 RefPtr<HTMLParserReentryPermit> m_reentryPermit;
122 Member<Document> m_document; 122 Member<Document> m_document;
123 Member<HTMLParserScriptRunnerHost> m_host; 123 Member<HTMLParserScriptRunnerHost> m_host;
124
125 // https://html.spec.whatwg.org/#pending-parsing-blocking-script
124 Member<PendingScript> m_parserBlockingScript; 126 Member<PendingScript> m_parserBlockingScript;
125 // http://www.whatwg.org/specs/web-apps/current-work/#list-of-scripts-that-wil l-execute-when-the-document-has-finished-parsing 127
128 // https://html.spec.whatwg.org/#list-of-scripts-that-will-execute-when-the-do cument-has-finished-parsing
126 HeapDeque<Member<PendingScript>> m_scriptsToExecuteAfterParsing; 129 HeapDeque<Member<PendingScript>> m_scriptsToExecuteAfterParsing;
127 }; 130 };
128 131
129 } // namespace blink 132 } // namespace blink
130 133
131 #endif 134 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698