| 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 CSSPaintImageGeneratorImpl_h | 5 #ifndef CSSPaintImageGeneratorImpl_h |
| 6 #define CSSPaintImageGeneratorImpl_h | 6 #define CSSPaintImageGeneratorImpl_h |
| 7 | 7 |
| 8 #include <v8.h> |
| 8 #include "bindings/core/v8/ScopedPersistent.h" | 9 #include "bindings/core/v8/ScopedPersistent.h" |
| 9 #include "core/css/CSSPaintImageGenerator.h" | 10 #include "core/css/CSSPaintImageGenerator.h" |
| 10 #include "platform/geometry/IntSize.h" | 11 #include "platform/geometry/IntSize.h" |
| 11 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
| 12 #include <v8.h> | |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class CSSPaintDefinition; | 16 class CSSPaintDefinition; |
| 17 class Document; | 17 class Document; |
| 18 class Image; | 18 class Image; |
| 19 | 19 |
| 20 class CSSPaintImageGeneratorImpl final : public CSSPaintImageGenerator { | 20 class CSSPaintImageGeneratorImpl final : public CSSPaintImageGenerator { |
| 21 public: | 21 public: |
| 22 static CSSPaintImageGenerator* create(const String& name, | 22 static CSSPaintImageGenerator* create(const String& name, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 41 CSSPaintImageGeneratorImpl(Observer*); | 41 CSSPaintImageGeneratorImpl(Observer*); |
| 42 CSSPaintImageGeneratorImpl(CSSPaintDefinition*); | 42 CSSPaintImageGeneratorImpl(CSSPaintDefinition*); |
| 43 | 43 |
| 44 Member<CSSPaintDefinition> m_definition; | 44 Member<CSSPaintDefinition> m_definition; |
| 45 Member<Observer> m_observer; | 45 Member<Observer> m_observer; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // CSSPaintImageGeneratorImpl_h | 50 #endif // CSSPaintImageGeneratorImpl_h |
| OLD | NEW |