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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef CanvasStyle_h 27 #ifndef CanvasStyle_h
28 #define CanvasStyle_h 28 #define CanvasStyle_h
29 29
30 #include "platform/graphics/Color.h" 30 #include "platform/graphics/Color.h"
31 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
32 #include "wtf/Assertions.h" 32 #include "wtf/Assertions.h"
33 #include "wtf/RefCounted.h"
34 #include "wtf/text/WTFString.h" 33 #include "wtf/text/WTFString.h"
35 34
36 class SkPaint; 35 class SkPaint;
37 class SkShader; 36 class SkShader;
38 37
39 namespace blink { 38 namespace blink {
40 39
41 class CanvasGradient; 40 class CanvasGradient;
42 class CanvasPattern; 41 class CanvasPattern;
43 class HTMLCanvasElement; 42 class HTMLCanvasElement;
(...skipping 27 matching lines...) Expand all
71 70
72 Member<CanvasGradient> m_gradient; 71 Member<CanvasGradient> m_gradient;
73 Member<CanvasPattern> m_pattern; 72 Member<CanvasPattern> m_pattern;
74 }; 73 };
75 74
76 bool parseColorOrCurrentColor(Color& parsedColor, const String& colorString, HTM LCanvasElement*); 75 bool parseColorOrCurrentColor(Color& parsedColor, const String& colorString, HTM LCanvasElement*);
77 76
78 } // namespace blink 77 } // namespace blink
79 78
80 #endif 79 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/canvas2d/CanvasPattern.h ('k') | third_party/WebKit/Source/modules/canvas2d/Path2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698