| 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 24 matching lines...) Expand all Loading... |
| 35 #include "core/events/ErrorEvent.h" | 35 #include "core/events/ErrorEvent.h" |
| 36 #include "core/events/EventTarget.h" | 36 #include "core/events/EventTarget.h" |
| 37 #include "core/frame/UseCounter.h" | 37 #include "core/frame/UseCounter.h" |
| 38 #include "core/html/PublicURLManager.h" | 38 #include "core/html/PublicURLManager.h" |
| 39 #include "core/inspector/ConsoleMessage.h" | 39 #include "core/inspector/ConsoleMessage.h" |
| 40 #include "core/probe/CoreProbes.h" | 40 #include "core/probe/CoreProbes.h" |
| 41 #include "core/workers/WorkerGlobalScope.h" | 41 #include "core/workers/WorkerGlobalScope.h" |
| 42 #include "core/workers/WorkerThread.h" | 42 #include "core/workers/WorkerThread.h" |
| 43 #include "platform/loader/fetch/MemoryCache.h" | 43 #include "platform/loader/fetch/MemoryCache.h" |
| 44 #include "platform/weborigin/SecurityPolicy.h" | 44 #include "platform/weborigin/SecurityPolicy.h" |
| 45 #include "wtf/PtrUtil.h" | 45 #include "platform/wtf/PtrUtil.h" |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 ExecutionContext::ExecutionContext() | 49 ExecutionContext::ExecutionContext() |
| 50 : circular_sequential_id_(0), | 50 : circular_sequential_id_(0), |
| 51 in_dispatch_error_event_(false), | 51 in_dispatch_error_event_(false), |
| 52 is_context_suspended_(false), | 52 is_context_suspended_(false), |
| 53 is_context_destroyed_(false), | 53 is_context_destroyed_(false), |
| 54 window_interaction_tokens_(0), | 54 window_interaction_tokens_(0), |
| 55 referrer_policy_(kReferrerPolicyDefault) {} | 55 referrer_policy_(kReferrerPolicyDefault) {} |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 } | 239 } |
| 240 | 240 |
| 241 DEFINE_TRACE(ExecutionContext) { | 241 DEFINE_TRACE(ExecutionContext) { |
| 242 visitor->Trace(public_url_manager_); | 242 visitor->Trace(public_url_manager_); |
| 243 visitor->Trace(pending_exceptions_); | 243 visitor->Trace(pending_exceptions_); |
| 244 ContextLifecycleNotifier::Trace(visitor); | 244 ContextLifecycleNotifier::Trace(visitor); |
| 245 Supplementable<ExecutionContext>::Trace(visitor); | 245 Supplementable<ExecutionContext>::Trace(visitor); |
| 246 } | 246 } |
| 247 | 247 |
| 248 } // namespace blink | 248 } // namespace blink |
| OLD | NEW |