| 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 CSSPaintValue_h | 5 #ifndef CSSPaintValue_h |
| 6 #define CSSPaintValue_h | 6 #define CSSPaintValue_h |
| 7 | 7 |
| 8 #include "core/css/CSSCustomIdentValue.h" | 8 #include "core/css/CSSCustomIdentValue.h" |
| 9 #include "core/css/CSSImageGeneratorValue.h" | 9 #include "core/css/CSSImageGeneratorValue.h" |
| 10 #include "core/css/CSSPaintImageGenerator.h" | 10 #include "core/css/CSSPaintImageGenerator.h" |
| 11 #include "core/css/CSSVariableData.h" | 11 #include "core/css/CSSVariableData.h" |
| 12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
| 13 #include "wtf/Vector.h" | 13 #include "platform/wtf/Vector.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class CSSPaintValue : public CSSImageGeneratorValue { | 17 class CSSPaintValue : public CSSImageGeneratorValue { |
| 18 public: | 18 public: |
| 19 static CSSPaintValue* Create(CSSCustomIdentValue* name) { | 19 static CSSPaintValue* Create(CSSCustomIdentValue* name) { |
| 20 return new CSSPaintValue(name); | 20 return new CSSPaintValue(name); |
| 21 } | 21 } |
| 22 | 22 |
| 23 static CSSPaintValue* Create(CSSCustomIdentValue* name, | 23 static CSSPaintValue* Create(CSSCustomIdentValue* name, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 Member<Observer> paint_image_generator_observer_; | 85 Member<Observer> paint_image_generator_observer_; |
| 86 Member<CSSStyleValueVector> parsed_input_arguments_; | 86 Member<CSSStyleValueVector> parsed_input_arguments_; |
| 87 Vector<RefPtr<CSSVariableData>> argument_variable_data_; | 87 Vector<RefPtr<CSSVariableData>> argument_variable_data_; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPaintValue, IsPaintValue()); | 90 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPaintValue, IsPaintValue()); |
| 91 | 91 |
| 92 } // namespace blink | 92 } // namespace blink |
| 93 | 93 |
| 94 #endif // CSSPaintValue_h | 94 #endif // CSSPaintValue_h |
| OLD | NEW |