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 14 matching lines...) Expand all Loading... |
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/events/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/frame/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 "weborigin/KURL.h" | 38 #include "weborigin/KURL.h" |
39 #include "wtf/HashSet.h" | 39 #include "wtf/HashSet.h" |
40 #include "wtf/OwnPtr.h" | 40 #include "wtf/OwnPtr.h" |
41 #include "wtf/PassOwnPtr.h" | 41 #include "wtf/PassOwnPtr.h" |
42 | 42 |
43 namespace WTF { | 43 namespace WTF { |
44 class OrdinalNumber; | 44 class OrdinalNumber; |
45 } | 45 } |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 // The location of this member is important; to make sure contextDestroyed()
notification on | 171 // The location of this member is important; to make sure contextDestroyed()
notification on |
172 // ScriptExecutionContext's members (notably m_timeouts) is called before th
ey are destructed, | 172 // ScriptExecutionContext's members (notably m_timeouts) is called before th
ey are destructed, |
173 // m_lifecycleNotifer should be placed *after* such members. | 173 // m_lifecycleNotifer should be placed *after* such members. |
174 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; | 174 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; |
175 }; | 175 }; |
176 | 176 |
177 } // namespace WebCore | 177 } // namespace WebCore |
178 | 178 |
179 #endif // ScriptExecutionContext_h | 179 #endif // ScriptExecutionContext_h |
OLD | NEW |