OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2012 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2012 Google Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 11 matching lines...) Expand all Loading... |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 * | 25 * |
26 */ | 26 */ |
27 | 27 |
28 #ifndef ScriptExecutionContext_h | 28 #ifndef ScriptExecutionContext_h |
29 #define ScriptExecutionContext_h | 29 #define ScriptExecutionContext_h |
30 | 30 |
31 #include "core/dom/ActiveDOMObject.h" | 31 #include "core/dom/ActiveDOMObject.h" |
32 #include "core/events/ErrorEvent.h" | 32 #include "core/dom/ErrorEvent.h" |
33 #include "core/dom/SecurityContext.h" | 33 #include "core/dom/SecurityContext.h" |
34 #include "core/fetch/CrossOriginAccessControl.h" | 34 #include "core/fetch/CrossOriginAccessControl.h" |
35 #include "core/page/ConsoleTypes.h" | 35 #include "core/page/ConsoleTypes.h" |
36 #include "core/page/DOMTimer.h" | 36 #include "core/page/DOMTimer.h" |
37 #include "core/platform/LifecycleContext.h" | 37 #include "core/platform/LifecycleContext.h" |
38 #include "core/platform/Supplementable.h" | 38 #include "core/platform/Supplementable.h" |
39 #include "weborigin/KURL.h" | 39 #include "weborigin/KURL.h" |
40 #include "wtf/HashSet.h" | 40 #include "wtf/HashSet.h" |
41 #include "wtf/OwnPtr.h" | 41 #include "wtf/OwnPtr.h" |
42 #include "wtf/PassOwnPtr.h" | 42 #include "wtf/PassOwnPtr.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 // The location of this member is important; to make sure contextDestroyed()
notification on | 199 // The location of this member is important; to make sure contextDestroyed()
notification on |
200 // ScriptExecutionContext's members (notably m_timeouts) is called before th
ey are destructed, | 200 // ScriptExecutionContext's members (notably m_timeouts) is called before th
ey are destructed, |
201 // m_lifecycleNotifer should be placed *after* such members. | 201 // m_lifecycleNotifer should be placed *after* such members. |
202 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; | 202 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; |
203 }; | 203 }; |
204 | 204 |
205 } // namespace WebCore | 205 } // namespace WebCore |
206 | 206 |
207 #endif // ScriptExecutionContext_h | 207 #endif // ScriptExecutionContext_h |
OLD | NEW |