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

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

Issue 1439793003: SVG: Promote d to a property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DECLARE_VIRTUAL_TRACE Created 5 years 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/css/CSSPathValue.h"
32 #include "platform/Length.h" 33 #include "platform/Length.h"
33 #include "platform/graphics/Color.h" 34 #include "platform/graphics/Color.h"
34 #include "wtf/Allocator.h" 35 #include "wtf/Allocator.h"
35 #include "wtf/OwnPtr.h" 36 #include "wtf/OwnPtr.h"
36 #include "wtf/PassOwnPtr.h" 37 #include "wtf/PassOwnPtr.h"
37 #include "wtf/RefCounted.h" 38 #include "wtf/RefCounted.h"
38 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
39 #include "wtf/RefVector.h" 40 #include "wtf/RefVector.h"
40 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
41 42
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // Positioning and sizing properties. 283 // Positioning and sizing properties.
283 class StyleLayoutData : public RefCounted<StyleLayoutData> { 284 class StyleLayoutData : public RefCounted<StyleLayoutData> {
284 public: 285 public:
285 static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleL ayoutData); } 286 static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleL ayoutData); }
286 PassRefPtr<StyleLayoutData> copy() const; 287 PassRefPtr<StyleLayoutData> copy() const;
287 bool operator==(const StyleLayoutData&) const; 288 bool operator==(const StyleLayoutData&) const;
288 bool operator!=(const StyleLayoutData& other) const 289 bool operator!=(const StyleLayoutData& other) const
289 { 290 {
290 return !(*this == other); 291 return !(*this == other);
291 } 292 }
293 RefPtrWillBePersistent<CSSPathValue> d;
292 Length cx; 294 Length cx;
293 Length cy; 295 Length cy;
294 Length x; 296 Length x;
295 Length y; 297 Length y;
296 Length r; 298 Length r;
297 Length rx; 299 Length rx;
298 Length ry; 300 Length ry;
299 private: 301 private:
300 StyleLayoutData(); 302 StyleLayoutData();
301 StyleLayoutData(const StyleLayoutData&); 303 StyleLayoutData(const StyleLayoutData&);
302 }; 304 };
303 305
304 } // namespace blink 306 } // namespace blink
305 307
306 #endif // SVGComputedStyleDefs_h 308 #endif // SVGComputedStyleDefs_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698