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 #ifndef CSSPaintDefinition_h | 5 #ifndef CSSPaintDefinition_h |
6 #define CSSPaintDefinition_h | 6 #define CSSPaintDefinition_h |
7 | 7 |
| 8 #include <v8.h> |
8 #include "bindings/core/v8/ScopedPersistent.h" | 9 #include "bindings/core/v8/ScopedPersistent.h" |
9 #include "core/CSSPropertyNames.h" | 10 #include "core/CSSPropertyNames.h" |
10 #include "core/css/CSSSyntaxDescriptor.h" | 11 #include "core/css/CSSSyntaxDescriptor.h" |
11 #include "platform/geometry/IntSize.h" | 12 #include "platform/geometry/IntSize.h" |
12 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
13 #include <v8.h> | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class Image; | 17 class Image; |
18 class LayoutObject; | 18 class LayoutObject; |
19 class ScriptState; | 19 class ScriptState; |
20 | 20 |
21 // Represents a javascript class registered on the PaintWorkletGlobalScope by | 21 // Represents a javascript class registered on the PaintWorkletGlobalScope by |
22 // the author. It will store the properties for invalidation and input argument | 22 // the author. It will store the properties for invalidation and input argument |
23 // types as well. | 23 // types as well. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 Vector<CSSPropertyID> m_nativeInvalidationProperties; | 87 Vector<CSSPropertyID> m_nativeInvalidationProperties; |
88 Vector<AtomicString> m_customInvalidationProperties; | 88 Vector<AtomicString> m_customInvalidationProperties; |
89 // Input argument types, if applicable. | 89 // Input argument types, if applicable. |
90 Vector<CSSSyntaxDescriptor> m_inputArgumentTypes; | 90 Vector<CSSSyntaxDescriptor> m_inputArgumentTypes; |
91 bool m_hasAlpha; | 91 bool m_hasAlpha; |
92 }; | 92 }; |
93 | 93 |
94 } // namespace blink | 94 } // namespace blink |
95 | 95 |
96 #endif // CSSPaintDefinition_h | 96 #endif // CSSPaintDefinition_h |
OLD | NEW |