| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 virtual bool isDocument() const { return false; } | 75 virtual bool isDocument() const { return false; } |
| 76 virtual bool isWorkerGlobalScope() const { return false; } | 76 virtual bool isWorkerGlobalScope() const { return false; } |
| 77 virtual bool isWorkletGlobalScope() const { return false; } | 77 virtual bool isWorkletGlobalScope() const { return false; } |
| 78 virtual bool isMainThreadWorkletGlobalScope() const { return false; } | 78 virtual bool isMainThreadWorkletGlobalScope() const { return false; } |
| 79 virtual bool isDedicatedWorkerGlobalScope() const { return false; } | 79 virtual bool isDedicatedWorkerGlobalScope() const { return false; } |
| 80 virtual bool isSharedWorkerGlobalScope() const { return false; } | 80 virtual bool isSharedWorkerGlobalScope() const { return false; } |
| 81 virtual bool isServiceWorkerGlobalScope() const { return false; } | 81 virtual bool isServiceWorkerGlobalScope() const { return false; } |
| 82 virtual bool isCompositorWorkerGlobalScope() const { return false; } | 82 virtual bool isCompositorWorkerGlobalScope() const { return false; } |
| 83 virtual bool isAnimationWorkletGlobalScope() const { return false; } | 83 virtual bool isAnimationWorkletGlobalScope() const { return false; } |
| 84 virtual bool isAudioWorkletGlobalScope() const { return false; } |
| 84 virtual bool isPaintWorkletGlobalScope() const { return false; } | 85 virtual bool isPaintWorkletGlobalScope() const { return false; } |
| 85 virtual bool isThreadedWorkletGlobalScope() const { return false; } | 86 virtual bool isThreadedWorkletGlobalScope() const { return false; } |
| 86 virtual bool isJSExecutionForbidden() const { return false; } | 87 virtual bool isJSExecutionForbidden() const { return false; } |
| 87 | 88 |
| 88 virtual bool isContextThread() const { return true; } | 89 virtual bool isContextThread() const { return true; } |
| 89 | 90 |
| 90 SecurityOrigin* getSecurityOrigin(); | 91 SecurityOrigin* getSecurityOrigin(); |
| 91 ContentSecurityPolicy* contentSecurityPolicy(); | 92 ContentSecurityPolicy* contentSecurityPolicy(); |
| 92 const KURL& url() const; | 93 const KURL& url() const; |
| 93 KURL completeURL(const String& url) const; | 94 KURL completeURL(const String& url) const; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 209 |
| 209 Deque<std::unique_ptr<SuspendableTask>> m_suspendedTasks; | 210 Deque<std::unique_ptr<SuspendableTask>> m_suspendedTasks; |
| 210 bool m_isRunSuspendableTasksScheduled; | 211 bool m_isRunSuspendableTasksScheduled; |
| 211 | 212 |
| 212 ReferrerPolicy m_referrerPolicy; | 213 ReferrerPolicy m_referrerPolicy; |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 } // namespace blink | 216 } // namespace blink |
| 216 | 217 |
| 217 #endif // ExecutionContext_h | 218 #endif // ExecutionContext_h |
| OLD | NEW |