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

Side by Side Diff: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h

Issue 2322343003: Add support for <basic-shape> to 'clip-path' on SVG elements (Closed)
Patch Set: Update SPv2 expectations Created 4 years, 3 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 11 matching lines...) Expand all
22 You should have received a copy of the GNU Library General Public License 22 You should have received a copy of the GNU Library General Public License
23 along with this library; see the file COPYING.LIB. If not, write to 23 along with this library; see the file COPYING.LIB. If not, write to
24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 Boston, MA 02110-1301, USA. 25 Boston, MA 02110-1301, USA.
26 */ 26 */
27 27
28 #ifndef SVGComputedStyleDefs_h 28 #ifndef SVGComputedStyleDefs_h
29 #define SVGComputedStyleDefs_h 29 #define SVGComputedStyleDefs_h
30 30
31 #include "core/CoreExport.h" 31 #include "core/CoreExport.h"
32 #include "core/style/ClipPathOperation.h"
32 #include "core/style/StylePath.h" 33 #include "core/style/StylePath.h"
33 #include "platform/Length.h" 34 #include "platform/Length.h"
34 #include "platform/graphics/Color.h" 35 #include "platform/graphics/Color.h"
35 #include "wtf/Allocator.h" 36 #include "wtf/Allocator.h"
36 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
37 #include "wtf/RefPtr.h" 38 #include "wtf/RefPtr.h"
38 #include "wtf/RefVector.h" 39 #include "wtf/RefVector.h"
39 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
40 41
41 namespace blink { 42 namespace blink {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 public: 242 public:
242 static PassRefPtr<StyleResourceData> create() { return adoptRef(new StyleRes ourceData); } 243 static PassRefPtr<StyleResourceData> create() { return adoptRef(new StyleRes ourceData); }
243 PassRefPtr<StyleResourceData> copy() const { return adoptRef(new StyleResour ceData(*this)); } 244 PassRefPtr<StyleResourceData> copy() const { return adoptRef(new StyleResour ceData(*this)); }
244 245
245 bool operator==(const StyleResourceData&) const; 246 bool operator==(const StyleResourceData&) const;
246 bool operator!=(const StyleResourceData& other) const 247 bool operator!=(const StyleResourceData& other) const
247 { 248 {
248 return !(*this == other); 249 return !(*this == other);
249 } 250 }
250 251
251 AtomicString clipper; 252 RefPtr<ClipPathOperation> clipPath;
252 AtomicString masker; 253 AtomicString masker;
253 254
254 private: 255 private:
255 StyleResourceData(); 256 StyleResourceData();
256 StyleResourceData(const StyleResourceData&); 257 StyleResourceData(const StyleResourceData&);
257 }; 258 };
258 259
259 // Inherited resources 260 // Inherited resources
260 class StyleInheritedResourceData : public RefCounted<StyleInheritedResourceData> { 261 class StyleInheritedResourceData : public RefCounted<StyleInheritedResourceData> {
261 public: 262 public:
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 Length ry; 298 Length ry;
298 299
299 private: 300 private:
300 StyleGeometryData(); 301 StyleGeometryData();
301 StyleGeometryData(const StyleGeometryData&); 302 StyleGeometryData(const StyleGeometryData&);
302 }; 303 };
303 304
304 } // namespace blink 305 } // namespace blink
305 306
306 #endif // SVGComputedStyleDefs_h 307 #endif // SVGComputedStyleDefs_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/SVGComputedStyle.h ('k') | third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698