| 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 PaintRenderingContext2D_h | 5 #ifndef PaintRenderingContext2D_h |
| 6 #define PaintRenderingContext2D_h | 6 #define PaintRenderingContext2D_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/canvas2d/BaseRenderingContext2D.h" | 10 #include "modules/canvas2d/BaseRenderingContext2D.h" |
| 11 #include "platform/graphics/ImageBuffer.h" | 11 #include "platform/graphics/ImageBuffer.h" |
| 12 #include "third_party/skia/include/core/SkCanvas.h" | 12 |
| 13 class SkCanvas; |
| 13 | 14 |
| 14 namespace blink { | 15 namespace blink { |
| 15 | 16 |
| 16 class CanvasImageSource; | 17 class CanvasImageSource; |
| 17 class Color; | 18 class Color; |
| 18 | 19 |
| 19 class MODULES_EXPORT PaintRenderingContext2D : public BaseRenderingContext2D, pu
blic GarbageCollectedFinalized<PaintRenderingContext2D>, public ScriptWrappable
{ | 20 class MODULES_EXPORT PaintRenderingContext2D : public BaseRenderingContext2D, pu
blic GarbageCollectedFinalized<PaintRenderingContext2D>, public ScriptWrappable
{ |
| 20 DEFINE_WRAPPERTYPEINFO(); | 21 DEFINE_WRAPPERTYPEINFO(); |
| 21 USING_GARBAGE_COLLECTED_MIXIN(PaintRenderingContext2D); | 22 USING_GARBAGE_COLLECTED_MIXIN(PaintRenderingContext2D); |
| 22 WTF_MAKE_NONCOPYABLE(PaintRenderingContext2D); | 23 WTF_MAKE_NONCOPYABLE(PaintRenderingContext2D); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 68 |
| 68 private: | 69 private: |
| 69 explicit PaintRenderingContext2D(PassOwnPtr<ImageBuffer>); | 70 explicit PaintRenderingContext2D(PassOwnPtr<ImageBuffer>); |
| 70 | 71 |
| 71 OwnPtr<ImageBuffer> m_imageBuffer; | 72 OwnPtr<ImageBuffer> m_imageBuffer; |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 } // namespace blink | 75 } // namespace blink |
| 75 | 76 |
| 76 #endif // PaintRenderingContext2D_h | 77 #endif // PaintRenderingContext2D_h |
| OLD | NEW |