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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 Member<Document> m_document; | 85 Member<Document> m_document; |
86 | 86 |
87 HeapDeque<Member<ScriptLoader>> m_pendingInOrderScripts; | 87 HeapDeque<Member<ScriptLoader>> m_pendingInOrderScripts; |
88 HeapHashSet<Member<ScriptLoader>> m_pendingAsyncScripts; | 88 HeapHashSet<Member<ScriptLoader>> m_pendingAsyncScripts; |
89 | 89 |
90 // http://www.whatwg.org/specs/web-apps/current-work/#set-of-scripts-that-will
-execute-as-soon-as-possible | 90 // http://www.whatwg.org/specs/web-apps/current-work/#set-of-scripts-that-will
-execute-as-soon-as-possible |
91 HeapDeque<Member<ScriptLoader>> m_asyncScriptsToExecuteSoon; | 91 HeapDeque<Member<ScriptLoader>> m_asyncScriptsToExecuteSoon; |
92 HeapDeque<Member<ScriptLoader>> m_inOrderScriptsToExecuteSoon; | 92 HeapDeque<Member<ScriptLoader>> m_inOrderScriptsToExecuteSoon; |
93 | 93 |
94 std::unique_ptr<WebTaskRunner> m_taskRunner; | 94 RefPtr<WebTaskRunner> m_taskRunner; |
95 | 95 |
96 int m_numberOfInOrderScriptsWithPendingNotification; | 96 int m_numberOfInOrderScriptsWithPendingNotification; |
97 | 97 |
98 bool m_isSuspended; | 98 bool m_isSuspended; |
99 #ifndef NDEBUG | 99 #ifndef NDEBUG |
100 bool m_hasEverBeenSuspended; | 100 bool m_hasEverBeenSuspended; |
101 #endif | 101 #endif |
102 }; | 102 }; |
103 | 103 |
104 } // namespace blink | 104 } // namespace blink |
105 | 105 |
106 #endif // ScriptRunner_h | 106 #endif // ScriptRunner_h |
OLD | NEW |