| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 OwnPtrWillBeMember<PendingScript> m_parserBlockingScript; | 92 OwnPtrWillBeMember<PendingScript> m_parserBlockingScript; |
| 93 // http://www.whatwg.org/specs/web-apps/current-work/#list-of-scripts-that-w
ill-execute-when-the-document-has-finished-parsing | 93 // http://www.whatwg.org/specs/web-apps/current-work/#list-of-scripts-that-w
ill-execute-when-the-document-has-finished-parsing |
| 94 WillBeHeapDeque<OwnPtrWillBeMember<PendingScript>> m_scriptsToExecuteAfterPa
rsing; | 94 WillBeHeapDeque<OwnPtrWillBeMember<PendingScript>> m_scriptsToExecuteAfterPa
rsing; |
| 95 unsigned m_scriptNestingLevel; | 95 unsigned m_scriptNestingLevel; |
| 96 | 96 |
| 97 // We only want stylesheet loads to trigger script execution if script | 97 // We only want stylesheet loads to trigger script execution if script |
| 98 // execution is currently stopped due to stylesheet loads, otherwise we'd | 98 // execution is currently stopped due to stylesheet loads, otherwise we'd |
| 99 // cause nested script execution when parsing <style> tags since </style> | 99 // cause nested script execution when parsing <style> tags since </style> |
| 100 // tags can cause Document to call executeScriptsWaitingForResources. | 100 // tags can cause Document to call executeScriptsWaitingForResources. |
| 101 bool m_hasScriptsWaitingForResources; | 101 bool m_hasScriptsWaitingForResources; |
| 102 | |
| 103 // For tracking the times between script load and compilation, we need to | |
| 104 // know whether a parser blocking script was loaded previously, or whether | |
| 105 // it's really loaded when requested. | |
| 106 bool m_parserBlockingScriptAlreadyLoaded; | |
| 107 }; | 102 }; |
| 108 | 103 |
| 109 } // namespace blink | 104 } // namespace blink |
| 110 | 105 |
| 111 #endif | 106 #endif |
| OLD | NEW |