| 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 10 matching lines...) Expand all Loading... |
| 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 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 ExecutionContext_h | 28 #ifndef ExecutionContext_h |
| 29 #define ExecutionContext_h | 29 #define ExecutionContext_h |
| 30 | 30 |
| 31 #include "core/dom/ActiveDOMObject.h" | 31 #include "sky/engine/core/dom/ActiveDOMObject.h" |
| 32 #include "core/dom/ExecutionContextClient.h" | 32 #include "sky/engine/core/dom/ExecutionContextClient.h" |
| 33 #include "core/frame/ConsoleTypes.h" | 33 #include "sky/engine/core/frame/ConsoleTypes.h" |
| 34 #include "core/frame/DOMTimer.h" | 34 #include "sky/engine/core/frame/DOMTimer.h" |
| 35 #include "core/inspector/ConsoleMessage.h" | 35 #include "sky/engine/core/inspector/ConsoleMessage.h" |
| 36 #include "platform/LifecycleContext.h" | 36 #include "sky/engine/platform/LifecycleContext.h" |
| 37 #include "platform/Supplementable.h" | 37 #include "sky/engine/platform/Supplementable.h" |
| 38 #include "platform/heap/Handle.h" | 38 #include "sky/engine/platform/heap/Handle.h" |
| 39 #include "platform/weborigin/KURL.h" | 39 #include "sky/engine/platform/weborigin/KURL.h" |
| 40 #include "wtf/OwnPtr.h" | 40 #include "sky/engine/wtf/OwnPtr.h" |
| 41 #include "wtf/PassOwnPtr.h" | 41 #include "sky/engine/wtf/PassOwnPtr.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class ContextLifecycleNotifier; | 45 class ContextLifecycleNotifier; |
| 46 class LocalDOMWindow; | 46 class LocalDOMWindow; |
| 47 class ErrorEvent; | 47 class ErrorEvent; |
| 48 class EventQueue; | 48 class EventQueue; |
| 49 class ScriptState; | 49 class ScriptState; |
| 50 class ScriptCallStack; | 50 class ScriptCallStack; |
| 51 | 51 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 // The location of this member is important; to make sure contextDestroyed()
notification on | 138 // The location of this member is important; to make sure contextDestroyed()
notification on |
| 139 // ExecutionContext's members (notably m_timeouts) is called before they are
destructed, | 139 // ExecutionContext's members (notably m_timeouts) is called before they are
destructed, |
| 140 // m_lifecycleNotifer should be placed *after* such members. | 140 // m_lifecycleNotifer should be placed *after* such members. |
| 141 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; | 141 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } // namespace blink | 144 } // namespace blink |
| 145 | 145 |
| 146 #endif // ExecutionContext_h | 146 #endif // ExecutionContext_h |
| OLD | NEW |