| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class ErrorEvent; | 51 class ErrorEvent; |
| 52 class EventQueue; | 52 class EventQueue; |
| 53 class EventTarget; | 53 class EventTarget; |
| 54 class ExecutionContextTask; | 54 class ExecutionContextTask; |
| 55 class LocalDOMWindow; | 55 class LocalDOMWindow; |
| 56 class OriginTrialContext; | 56 class OriginTrialContext; |
| 57 class PublicURLManager; | 57 class PublicURLManager; |
| 58 class SecurityOrigin; | 58 class SecurityOrigin; |
| 59 class ScriptCallStack; | 59 class ScriptCallStack; |
| 60 | 60 |
| 61 class CORE_EXPORT ExecutionContext | 61 class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier, public Sup
plementable<ExecutionContext> { |
| 62 : public ContextLifecycleNotifier, public HeapSupplementable<ExecutionContex
t> { | |
| 63 WTF_MAKE_NONCOPYABLE(ExecutionContext); | 62 WTF_MAKE_NONCOPYABLE(ExecutionContext); |
| 64 public: | 63 public: |
| 65 DECLARE_VIRTUAL_TRACE(); | 64 DECLARE_VIRTUAL_TRACE(); |
| 66 | 65 |
| 67 // Used to specify whether |isSecureContext| should walk the | 66 // Used to specify whether |isSecureContext| should walk the |
| 68 // ancestor tree to decide whether to restrict usage of a powerful | 67 // ancestor tree to decide whether to restrict usage of a powerful |
| 69 // feature. | 68 // feature. |
| 70 enum SecureContextCheck { | 69 enum SecureContextCheck { |
| 71 StandardSecureContextCheck, | 70 StandardSecureContextCheck, |
| 72 WebCryptoSecureContextCheck | 71 WebCryptoSecureContextCheck |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 195 |
| 197 Deque<OwnPtr<SuspendableTask>> m_suspendedTasks; | 196 Deque<OwnPtr<SuspendableTask>> m_suspendedTasks; |
| 198 bool m_isRunSuspendableTasksScheduled; | 197 bool m_isRunSuspendableTasksScheduled; |
| 199 | 198 |
| 200 ReferrerPolicy m_referrerPolicy; | 199 ReferrerPolicy m_referrerPolicy; |
| 201 }; | 200 }; |
| 202 | 201 |
| 203 } // namespace blink | 202 } // namespace blink |
| 204 | 203 |
| 205 #endif // ExecutionContext_h | 204 #endif // ExecutionContext_h |
| OLD | NEW |