| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 class ConsoleMessage; | 50 class ConsoleMessage; |
| 51 class ExceptionState; | 51 class ExceptionState; |
| 52 class V8AbstractEventListener; | 52 class V8AbstractEventListener; |
| 53 class WorkerClients; | 53 class WorkerClients; |
| 54 class WorkerLocation; | 54 class WorkerLocation; |
| 55 class WorkerNavigator; | 55 class WorkerNavigator; |
| 56 class WorkerThread; | 56 class WorkerThread; |
| 57 | 57 |
| 58 class CORE_EXPORT WorkerGlobalScope : public EventTargetWithInlineData, | 58 class CORE_EXPORT WorkerGlobalScope |
| 59 public ActiveScriptWrappable, | 59 : public EventTargetWithInlineData, |
| 60 public SecurityContext, | 60 public ActiveScriptWrappable<WorkerGlobalScope>, |
| 61 public WorkerOrWorkletGlobalScope, | 61 public SecurityContext, |
| 62 public Supplementable<WorkerGlobalScope>, | 62 public WorkerOrWorkletGlobalScope, |
| 63 public DOMWindowBase64 { | 63 public Supplementable<WorkerGlobalScope>, |
| 64 public DOMWindowBase64 { |
| 64 DEFINE_WRAPPERTYPEINFO(); | 65 DEFINE_WRAPPERTYPEINFO(); |
| 65 USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScope); | 66 USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScope); |
| 66 | 67 |
| 67 public: | 68 public: |
| 68 using SecurityContext::getSecurityOrigin; | 69 using SecurityContext::getSecurityOrigin; |
| 69 using SecurityContext::contentSecurityPolicy; | 70 using SecurityContext::contentSecurityPolicy; |
| 70 | 71 |
| 71 ~WorkerGlobalScope() override; | 72 ~WorkerGlobalScope() override; |
| 72 | 73 |
| 73 // Returns null if caching is not supported. | 74 // Returns null if caching is not supported. |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 216 |
| 216 DEFINE_TYPE_CASTS(WorkerGlobalScope, | 217 DEFINE_TYPE_CASTS(WorkerGlobalScope, |
| 217 ExecutionContext, | 218 ExecutionContext, |
| 218 context, | 219 context, |
| 219 context->isWorkerGlobalScope(), | 220 context->isWorkerGlobalScope(), |
| 220 context.isWorkerGlobalScope()); | 221 context.isWorkerGlobalScope()); |
| 221 | 222 |
| 222 } // namespace blink | 223 } // namespace blink |
| 223 | 224 |
| 224 #endif // WorkerGlobalScope_h | 225 #endif // WorkerGlobalScope_h |
| OLD | NEW |