| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #include "core/dom/ActiveDOMObject.h" | 31 #include "core/dom/ActiveDOMObject.h" |
| 32 #include "core/dom/ExecutionContextClient.h" | 32 #include "core/dom/ExecutionContextClient.h" |
| 33 #include "core/frame/ConsoleTypes.h" | 33 #include "core/frame/ConsoleTypes.h" |
| 34 #include "core/frame/DOMTimer.h" | 34 #include "core/frame/DOMTimer.h" |
| 35 #include "core/inspector/ConsoleMessage.h" | 35 #include "core/inspector/ConsoleMessage.h" |
| 36 #include "platform/LifecycleContext.h" | 36 #include "platform/LifecycleContext.h" |
| 37 #include "platform/Supplementable.h" | 37 #include "platform/Supplementable.h" |
| 38 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
| 39 #include "platform/weborigin/KURL.h" | 39 #include "platform/weborigin/KURL.h" |
| 40 #include "wtf/Functional.h" | |
| 41 #include "wtf/OwnPtr.h" | 40 #include "wtf/OwnPtr.h" |
| 42 #include "wtf/PassOwnPtr.h" | 41 #include "wtf/PassOwnPtr.h" |
| 43 | 42 |
| 44 namespace blink { | 43 namespace blink { |
| 45 | 44 |
| 46 class ContextLifecycleNotifier; | 45 class ContextLifecycleNotifier; |
| 47 class LocalDOMWindow; | 46 class LocalDOMWindow; |
| 48 class ErrorEvent; | 47 class ErrorEvent; |
| 49 class EventQueue; | 48 class EventQueue; |
| 50 class ScriptState; | 49 class ScriptState; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 142 |
| 144 // The location of this member is important; to make sure contextDestroyed()
notification on | 143 // The location of this member is important; to make sure contextDestroyed()
notification on |
| 145 // ExecutionContext's members (notably m_timeouts) is called before they are
destructed, | 144 // ExecutionContext's members (notably m_timeouts) is called before they are
destructed, |
| 146 // m_lifecycleNotifer should be placed *after* such members. | 145 // m_lifecycleNotifer should be placed *after* such members. |
| 147 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; | 146 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; |
| 148 }; | 147 }; |
| 149 | 148 |
| 150 } // namespace blink | 149 } // namespace blink |
| 151 | 150 |
| 152 #endif // ExecutionContext_h | 151 #endif // ExecutionContext_h |
| OLD | NEW |