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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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/graphics/paint/PaintFlags.h" 31 #include "platform/graphics/paint/PaintFlags.h"
32 #include "platform/heap/Handle.h" 32 #include "platform/heap/Handle.h"
33 #include "wtf/Assertions.h" 33 #include "platform/wtf/Assertions.h"
34 #include "wtf/text/WTFString.h" 34 #include "platform/wtf/text/WTFString.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class CanvasGradient; 38 class CanvasGradient;
39 class CanvasPattern; 39 class CanvasPattern;
40 class HTMLCanvasElement; 40 class HTMLCanvasElement;
41 41
42 class CanvasStyle final : public GarbageCollected<CanvasStyle> { 42 class CanvasStyle final : public GarbageCollected<CanvasStyle> {
43 public: 43 public:
44 static CanvasStyle* CreateFromRGBA(RGBA32 rgba) { 44 static CanvasStyle* CreateFromRGBA(RGBA32 rgba) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 Member<CanvasPattern> pattern_; 77 Member<CanvasPattern> pattern_;
78 }; 78 };
79 79
80 bool ParseColorOrCurrentColor(Color& parsed_color, 80 bool ParseColorOrCurrentColor(Color& parsed_color,
81 const String& color_string, 81 const String& color_string,
82 HTMLCanvasElement*); 82 HTMLCanvasElement*);
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif 86 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698