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

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

Issue 2115803002: Clean up naming in ComputedStyle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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) 2005, 2006 Apple Computer, Inc. 4 Copyright (C) 2005, 2006 Apple Computer, Inc.
5 Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 6
7 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
(...skipping 23 matching lines...) Expand all
34 #include "wtf/RefCounted.h" 34 #include "wtf/RefCounted.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class CORE_EXPORT SVGComputedStyle : public RefCounted<SVGComputedStyle> { 38 class CORE_EXPORT SVGComputedStyle : public RefCounted<SVGComputedStyle> {
39 public: 39 public:
40 static PassRefPtr<SVGComputedStyle> create() { return adoptRef(new SVGComput edStyle); } 40 static PassRefPtr<SVGComputedStyle> create() { return adoptRef(new SVGComput edStyle); }
41 PassRefPtr<SVGComputedStyle> copy() const { return adoptRef(new SVGComputedS tyle(*this));} 41 PassRefPtr<SVGComputedStyle> copy() const { return adoptRef(new SVGComputedS tyle(*this));}
42 ~SVGComputedStyle(); 42 ~SVGComputedStyle();
43 43
44 bool inheritedNotEqual(const SVGComputedStyle*) const; 44 bool inheritedEqual(const SVGComputedStyle&) const;
45 bool nonInheritedEqual(const SVGComputedStyle&) const;
45 void inheritFrom(const SVGComputedStyle*); 46 void inheritFrom(const SVGComputedStyle*);
46 void copyNonInheritedFromCached(const SVGComputedStyle*); 47 void copyNonInheritedFromCached(const SVGComputedStyle*);
47 48
48 StyleDifference diff(const SVGComputedStyle*) const; 49 StyleDifference diff(const SVGComputedStyle*) const;
49 50
50 bool operator==(const SVGComputedStyle&) const; 51 bool operator==(const SVGComputedStyle&) const;
51 bool operator!=(const SVGComputedStyle& o) const { return !(*this == o); } 52 bool operator!=(const SVGComputedStyle& o) const { return !(*this == o); }
52 53
53 // Initial values for all the properties 54 // Initial values for all the properties
54 static EAlignmentBaseline initialAlignmentBaseline() { return AB_AUTO; } 55 static EAlignmentBaseline initialAlignmentBaseline() { return AB_AUTO; }
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 svg_noninherited_flags.f.baselineShift = initialBaselineShift(); 479 svg_noninherited_flags.f.baselineShift = initialBaselineShift();
479 svg_noninherited_flags.f.vectorEffect = initialVectorEffect(); 480 svg_noninherited_flags.f.vectorEffect = initialVectorEffect();
480 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); 481 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering();
481 svg_noninherited_flags.f.maskType = initialMaskType(); 482 svg_noninherited_flags.f.maskType = initialMaskType();
482 } 483 }
483 }; 484 };
484 485
485 } // namespace blink 486 } // namespace blink
486 487
487 #endif // SVGComputedStyle_h 488 #endif // SVGComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/SVGComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698