OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "modules/csspaint/PaintWorkletGlobalScope.h" | 5 #include "modules/csspaint/PaintWorkletGlobalScope.h" |
6 | 6 |
7 #include "bindings/core/v8/IDLTypes.h" | 7 #include "bindings/core/v8/IDLTypes.h" |
8 #include "bindings/core/v8/NativeValueTraitsImpl.h" | 8 #include "bindings/core/v8/NativeValueTraitsImpl.h" |
9 #include "bindings/core/v8/V8BindingMacros.h" | |
10 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" | 9 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
11 #include "core/CSSPropertyNames.h" | 10 #include "core/CSSPropertyNames.h" |
12 #include "core/css/CSSSyntaxDescriptor.h" | 11 #include "core/css/CSSSyntaxDescriptor.h" |
13 #include "core/dom/ExceptionCode.h" | 12 #include "core/dom/ExceptionCode.h" |
14 #include "core/inspector/MainThreadDebugger.h" | 13 #include "core/inspector/MainThreadDebugger.h" |
15 #include "modules/csspaint/CSSPaintDefinition.h" | 14 #include "modules/csspaint/CSSPaintDefinition.h" |
16 #include "modules/csspaint/CSSPaintImageGeneratorImpl.h" | 15 #include "modules/csspaint/CSSPaintImageGeneratorImpl.h" |
| 16 #include "platform/bindings/V8BindingMacros.h" |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 | 19 |
20 // static | 20 // static |
21 PaintWorkletGlobalScope* PaintWorkletGlobalScope::Create( | 21 PaintWorkletGlobalScope* PaintWorkletGlobalScope::Create( |
22 LocalFrame* frame, | 22 LocalFrame* frame, |
23 const KURL& url, | 23 const KURL& url, |
24 const String& user_agent, | 24 const String& user_agent, |
25 PassRefPtr<SecurityOrigin> security_origin, | 25 PassRefPtr<SecurityOrigin> security_origin, |
26 v8::Isolate* isolate) { | 26 v8::Isolate* isolate) { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 set->insert(generator); | 221 set->insert(generator); |
222 } | 222 } |
223 | 223 |
224 DEFINE_TRACE(PaintWorkletGlobalScope) { | 224 DEFINE_TRACE(PaintWorkletGlobalScope) { |
225 visitor->Trace(paint_definitions_); | 225 visitor->Trace(paint_definitions_); |
226 visitor->Trace(pending_generators_); | 226 visitor->Trace(pending_generators_); |
227 MainThreadWorkletGlobalScope::Trace(visitor); | 227 MainThreadWorkletGlobalScope::Trace(visitor); |
228 } | 228 } |
229 | 229 |
230 } // namespace blink | 230 } // namespace blink |
OLD | NEW |