| 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 25 matching lines...) Expand all Loading... |
| 36 #include "core/frame/ConsoleTypes.h" | 36 #include "core/frame/ConsoleTypes.h" |
| 37 #include "core/frame/DOMTimer.h" | 37 #include "core/frame/DOMTimer.h" |
| 38 #include "platform/LifecycleContext.h" | 38 #include "platform/LifecycleContext.h" |
| 39 #include "platform/Supplementable.h" | 39 #include "platform/Supplementable.h" |
| 40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
| 41 #include "platform/weborigin/KURL.h" | 41 #include "platform/weborigin/KURL.h" |
| 42 #include "wtf/Functional.h" | 42 #include "wtf/Functional.h" |
| 43 #include "wtf/OwnPtr.h" | 43 #include "wtf/OwnPtr.h" |
| 44 #include "wtf/PassOwnPtr.h" | 44 #include "wtf/PassOwnPtr.h" |
| 45 | 45 |
| 46 namespace WTF { | |
| 47 class OrdinalNumber; | |
| 48 } | |
| 49 | |
| 50 namespace WebCore { | 46 namespace WebCore { |
| 51 | 47 |
| 52 class ContextLifecycleNotifier; | 48 class ContextLifecycleNotifier; |
| 53 class LocalDOMWindow; | 49 class LocalDOMWindow; |
| 54 class ErrorEvent; | 50 class ErrorEvent; |
| 55 class EventListener; | |
| 56 class EventQueue; | 51 class EventQueue; |
| 57 class EventTarget; | |
| 58 class ExecutionContextTask; | 52 class ExecutionContextTask; |
| 59 class ScriptState; | 53 class ScriptState; |
| 60 class PublicURLManager; | 54 class PublicURLManager; |
| 61 class SecurityOrigin; | 55 class SecurityOrigin; |
| 62 class ScriptCallStack; | 56 class ScriptCallStack; |
| 63 | 57 |
| 64 class ExecutionContext | 58 class ExecutionContext |
| 65 : public WillBeGarbageCollectedMixin | 59 : public WillBeGarbageCollectedMixin |
| 66 , public LifecycleContext<ExecutionContext> | 60 , public LifecycleContext<ExecutionContext> |
| 67 , public Supplementable<ExecutionContext> { | 61 , public Supplementable<ExecutionContext> { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 171 |
| 178 // The location of this member is important; to make sure contextDestroyed()
notification on | 172 // The location of this member is important; to make sure contextDestroyed()
notification on |
| 179 // ExecutionContext's members (notably m_timeouts) is called before they are
destructed, | 173 // ExecutionContext's members (notably m_timeouts) is called before they are
destructed, |
| 180 // m_lifecycleNotifer should be placed *after* such members. | 174 // m_lifecycleNotifer should be placed *after* such members. |
| 181 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; | 175 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; |
| 182 }; | 176 }; |
| 183 | 177 |
| 184 } // namespace WebCore | 178 } // namespace WebCore |
| 185 | 179 |
| 186 #endif // ExecutionContext_h | 180 #endif // ExecutionContext_h |
| OLD | NEW |