| 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 <memory> |
| 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/bindings/ScriptWrappable.h" |
| 11 #include "platform/graphics/ImageBuffer.h" | 12 #include "platform/graphics/ImageBuffer.h" |
| 12 #include <memory> | |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class CanvasImageSource; | 16 class CanvasImageSource; |
| 17 class Color; | 17 class Color; |
| 18 | 18 |
| 19 class MODULES_EXPORT PaintRenderingContext2D | 19 class MODULES_EXPORT PaintRenderingContext2D |
| 20 : public BaseRenderingContext2D, | 20 : public BaseRenderingContext2D, |
| 21 public GarbageCollectedFinalized<PaintRenderingContext2D>, | 21 public GarbageCollectedFinalized<PaintRenderingContext2D>, |
| 22 public ScriptWrappable { | 22 public ScriptWrappable { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 bool has_alpha, | 81 bool has_alpha, |
| 82 float zoom); | 82 float zoom); |
| 83 | 83 |
| 84 std::unique_ptr<ImageBuffer> image_buffer_; | 84 std::unique_ptr<ImageBuffer> image_buffer_; |
| 85 bool has_alpha_; | 85 bool has_alpha_; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace blink | 88 } // namespace blink |
| 89 | 89 |
| 90 #endif // PaintRenderingContext2D_h | 90 #endif // PaintRenderingContext2D_h |
| OLD | NEW |