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

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

Issue 1778413003: Implement PaintRenderingContext2D off BaseRenderingContext2D (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 CanvasStyle(CanvasPattern*); 67 CanvasStyle(CanvasPattern*);
68 68
69 Type m_type; 69 Type m_type;
70 RGBA32 m_rgba; 70 RGBA32 m_rgba;
71 71
72 Member<CanvasGradient> m_gradient; 72 Member<CanvasGradient> m_gradient;
73 Member<CanvasPattern> m_pattern; 73 Member<CanvasPattern> m_pattern;
74 }; 74 };
75 75
76 bool parseColorOrCurrentColor(Color& parsedColor, const String& colorString, HTM LCanvasElement*); 76 bool parseColorOrCurrentColor(Color& parsedColor, const String& colorString, HTM LCanvasElement*);
77 bool parseColorOnly(Color& parsedColor, const String& colorString);
77 78
78 } // namespace blink 79 } // namespace blink
79 80
80 #endif 81 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698