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

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

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Rebase 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"
33 #include "core/style/StylePath.h" 32 #include "core/style/StylePath.h"
34 #include "platform/Length.h" 33 #include "platform/Length.h"
35 #include "platform/graphics/Color.h" 34 #include "platform/graphics/Color.h"
36 #include "wtf/Allocator.h" 35 #include "wtf/Allocator.h"
37 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
38 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
39 #include "wtf/RefVector.h" 38 #include "wtf/RefVector.h"
40 #include "wtf/text/WTFString.h" 39 #include "wtf/text/WTFString.h"
41 40
42 namespace blink { 41 namespace blink {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 public: 241 public:
243 static PassRefPtr<StyleResourceData> create() { return adoptRef(new StyleRes ourceData); } 242 static PassRefPtr<StyleResourceData> create() { return adoptRef(new StyleRes ourceData); }
244 PassRefPtr<StyleResourceData> copy() const { return adoptRef(new StyleResour ceData(*this)); } 243 PassRefPtr<StyleResourceData> copy() const { return adoptRef(new StyleResour ceData(*this)); }
245 244
246 bool operator==(const StyleResourceData&) const; 245 bool operator==(const StyleResourceData&) const;
247 bool operator!=(const StyleResourceData& other) const 246 bool operator!=(const StyleResourceData& other) const
248 { 247 {
249 return !(*this == other); 248 return !(*this == other);
250 } 249 }
251 250
252 RefPtr<ClipPathOperation> clipPath;
253 AtomicString masker; 251 AtomicString masker;
254 252
255 private: 253 private:
256 StyleResourceData(); 254 StyleResourceData();
257 StyleResourceData(const StyleResourceData&); 255 StyleResourceData(const StyleResourceData&);
258 }; 256 };
259 257
260 // Inherited resources 258 // Inherited resources
261 class StyleInheritedResourceData : public RefCounted<StyleInheritedResourceData> { 259 class StyleInheritedResourceData : public RefCounted<StyleInheritedResourceData> {
262 public: 260 public:
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 Length ry; 296 Length ry;
299 297
300 private: 298 private:
301 StyleGeometryData(); 299 StyleGeometryData();
302 StyleGeometryData(const StyleGeometryData&); 300 StyleGeometryData(const StyleGeometryData&);
303 }; 301 };
304 302
305 } // namespace blink 303 } // namespace blink
306 304
307 #endif // SVGComputedStyleDefs_h 305 #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