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 <memory> |
31 #include "core/CoreExport.h" | 32 #include "core/CoreExport.h" |
32 #include "core/dom/ContextLifecycleNotifier.h" | 33 #include "core/dom/ContextLifecycleNotifier.h" |
33 #include "core/dom/ContextLifecycleObserver.h" | 34 #include "core/dom/ContextLifecycleObserver.h" |
34 #include "core/dom/SecurityContext.h" | 35 #include "core/dom/SecurityContext.h" |
35 #include "platform/Supplementable.h" | 36 #include "platform/Supplementable.h" |
36 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
37 #include "platform/loader/fetch/AccessControlStatus.h" | 38 #include "platform/loader/fetch/AccessControlStatus.h" |
38 #include "platform/weborigin/KURL.h" | 39 #include "platform/weborigin/KURL.h" |
39 #include "platform/weborigin/ReferrerPolicy.h" | 40 #include "platform/weborigin/ReferrerPolicy.h" |
40 #include "public/platform/WebTraceLocation.h" | 41 #include "public/platform/WebTraceLocation.h" |
41 #include "wtf/Noncopyable.h" | 42 #include "wtf/Noncopyable.h" |
42 #include <memory> | |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class SuspendableObject; | 46 class SuspendableObject; |
47 class ConsoleMessage; | 47 class ConsoleMessage; |
48 class DOMTimerCoordinator; | 48 class DOMTimerCoordinator; |
49 class ErrorEvent; | 49 class ErrorEvent; |
50 class EventQueue; | 50 class EventQueue; |
51 class EventTarget; | 51 class EventTarget; |
52 class ExecutionContextTask; | 52 class ExecutionContextTask; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // |allowWindowInteraction()| and |consumeWindowInteraction()| in order to | 214 // |allowWindowInteraction()| and |consumeWindowInteraction()| in order to |
215 // increment and decrement the counter. | 215 // increment and decrement the counter. |
216 int m_windowInteractionTokens; | 216 int m_windowInteractionTokens; |
217 | 217 |
218 ReferrerPolicy m_referrerPolicy; | 218 ReferrerPolicy m_referrerPolicy; |
219 }; | 219 }; |
220 | 220 |
221 } // namespace blink | 221 } // namespace blink |
222 | 222 |
223 #endif // ExecutionContext_h | 223 #endif // ExecutionContext_h |
OLD | NEW |