| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // This script will be blocked if not present in http cache. | 160 // This script will be blocked if not present in http cache. |
| 161 DoNotFetchDocWrittenScript, | 161 DoNotFetchDocWrittenScript, |
| 162 // If a parser blocking doc.written script was not fetched and was not | 162 // If a parser blocking doc.written script was not fetched and was not |
| 163 // present in the http cache, send a GET for it with an interventions | 163 // present in the http cache, send a GET for it with an interventions |
| 164 // header to allow the server to know of the intervention. This fetch | 164 // header to allow the server to know of the intervention. This fetch |
| 165 // will be using DeferOption::IdleLoad to keep it out of the critical | 165 // will be using DeferOption::IdleLoad to keep it out of the critical |
| 166 // path. | 166 // path. |
| 167 FetchDocWrittenScriptDeferIdle, | 167 FetchDocWrittenScriptDeferIdle, |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 bool m_inPrepareScript = false; |
| 171 |
| 170 DocumentWriteIntervention m_documentWriteIntervention; | 172 DocumentWriteIntervention m_documentWriteIntervention; |
| 171 | 173 |
| 172 Member<PendingScript> m_pendingScript; | 174 Member<PendingScript> m_pendingScript; |
| 173 }; | 175 }; |
| 174 | 176 |
| 175 ScriptLoader* toScriptLoaderIfPossible(Element*); | 177 ScriptLoader* toScriptLoaderIfPossible(Element*); |
| 176 | 178 |
| 177 } // namespace blink | 179 } // namespace blink |
| 178 | 180 |
| 179 #endif // ScriptLoader_h | 181 #endif // ScriptLoader_h |
| OLD | NEW |