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

Side by Side Diff: Source/core/rendering/style/SVGRenderStyleDefs.h

Issue 14907011: Support 'paint-order' from SVG2. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 /* 1 /*
2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005 Rob Buis <buis@kde.org> 3 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 5
6 Based on khtml code by: 6 Based on khtml code by:
7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org)
8 (C) 2000 Antti Koivisto (koivisto@kde.org) 8 (C) 2000 Antti Koivisto (koivisto@kde.org)
9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org)
10 (C) 2002-2003 Apple Computer, Inc. 10 (C) 2002-2003 Apple Computer, Inc.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 BR_AUTO, 87 BR_AUTO,
88 BR_DYNAMIC, 88 BR_DYNAMIC,
89 BR_STATIC 89 BR_STATIC
90 }; 90 };
91 91
92 enum EMaskType { 92 enum EMaskType {
93 MT_LUMINANCE, 93 MT_LUMINANCE,
94 MT_ALPHA 94 MT_ALPHA
95 }; 95 };
96 96
97 enum EPaintOrder {
pdr. 2013/05/03 17:58:29 The style checker will complain about these names
98 PO_NORMAL,
99 PO_FILL,
100 PO_STROKE,
101 PO_MARKERS,
102 // permutations
103 PO_FILL_STROKE,
104 PO_FILL_MARKERS,
105 PO_STROKE_FILL,
106 PO_STROKE_MARKERS,
107 PO_MARKERS_FILL,
108 PO_MARKERS_STROKE,
109 //PO_FILL_STROKE_MARKERS = PO_NORMAL
110 PO_FILL_MARKERS_STROKE,
111 PO_STROKE_MARKERS_FILL,
112 PO_STROKE_FILL_MARKERS,
113 PO_MARKERS_FILL_STROKE,
114 PO_MARKERS_STROKE_FILL
115 };
116
97 class CSSValue; 117 class CSSValue;
98 class CSSValueList; 118 class CSSValueList;
99 class SVGPaint; 119 class SVGPaint;
100 120
101 // Inherited/Non-Inherited Style Datastructures 121 // Inherited/Non-Inherited Style Datastructures
102 class StyleFillData : public RefCounted<StyleFillData> { 122 class StyleFillData : public RefCounted<StyleFillData> {
103 public: 123 public:
104 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFil lData); } 124 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFil lData); }
105 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillDa ta(*this)); } 125 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillDa ta(*this)); }
106 126
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 291
272 private: 292 private:
273 StyleInheritedResourceData(); 293 StyleInheritedResourceData();
274 StyleInheritedResourceData(const StyleInheritedResourceData&); 294 StyleInheritedResourceData(const StyleInheritedResourceData&);
275 }; 295 };
276 296
277 } // namespace WebCore 297 } // namespace WebCore
278 298
279 #endif // ENABLE(SVG) 299 #endif // ENABLE(SVG)
280 #endif // SVGRenderStyleDefs_h 300 #endif // SVGRenderStyleDefs_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698