Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h

Issue 1913283002: Trim Skia dependencies in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp ('k') | third_party/WebKit/Source/platform/DragImageTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698