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

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

Issue 236203020: Separate repaint and layout requirements of StyleDifference (Step 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase, Fix break Created 6 years, 8 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 | Annotate | Revision Log
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 30 matching lines...) Expand all
41 class SVGRenderStyle : public RefCounted<SVGRenderStyle> { 41 class SVGRenderStyle : public RefCounted<SVGRenderStyle> {
42 public: 42 public:
43 static PassRefPtr<SVGRenderStyle> create() { return adoptRef(new SVGRenderSt yle); } 43 static PassRefPtr<SVGRenderStyle> create() { return adoptRef(new SVGRenderSt yle); }
44 PassRefPtr<SVGRenderStyle> copy() const { return adoptRef(new SVGRenderStyle (*this));} 44 PassRefPtr<SVGRenderStyle> copy() const { return adoptRef(new SVGRenderStyle (*this));}
45 ~SVGRenderStyle(); 45 ~SVGRenderStyle();
46 46
47 bool inheritedNotEqual(const SVGRenderStyle*) const; 47 bool inheritedNotEqual(const SVGRenderStyle*) const;
48 void inheritFrom(const SVGRenderStyle*); 48 void inheritFrom(const SVGRenderStyle*);
49 void copyNonInheritedFrom(const SVGRenderStyle*); 49 void copyNonInheritedFrom(const SVGRenderStyle*);
50 50
51 StyleDifference diff(const SVGRenderStyle*) const; 51 StyleDifferenceLegacy diff(const SVGRenderStyle*) const;
52 52
53 bool operator==(const SVGRenderStyle&) const; 53 bool operator==(const SVGRenderStyle&) const;
54 bool operator!=(const SVGRenderStyle& o) const { return !(*this == o); } 54 bool operator!=(const SVGRenderStyle& o) const { return !(*this == o); }
55 55
56 // Initial values for all the properties 56 // Initial values for all the properties
57 static EAlignmentBaseline initialAlignmentBaseline() { return AB_AUTO; } 57 static EAlignmentBaseline initialAlignmentBaseline() { return AB_AUTO; }
58 static EDominantBaseline initialDominantBaseline() { return DB_AUTO; } 58 static EDominantBaseline initialDominantBaseline() { return DB_AUTO; }
59 static EBaselineShift initialBaselineShift() { return BS_BASELINE; } 59 static EBaselineShift initialBaselineShift() { return BS_BASELINE; }
60 static EVectorEffect initialVectorEffect() { return VE_NONE; } 60 static EVectorEffect initialVectorEffect() { return VE_NONE; }
61 static EBufferedRendering initialBufferedRendering() { return BR_AUTO; } 61 static EBufferedRendering initialBufferedRendering() { return BR_AUTO; }
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); 449 svg_noninherited_flags.f._baselineShift = initialBaselineShift();
450 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); 450 svg_noninherited_flags.f._vectorEffect = initialVectorEffect();
451 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); 451 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering();
452 svg_noninherited_flags.f.maskType = initialMaskType(); 452 svg_noninherited_flags.f.maskType = initialMaskType();
453 } 453 }
454 }; 454 };
455 455
456 } // namespace WebCore 456 } // namespace WebCore
457 457
458 #endif // SVGRenderStyle_h 458 #endif // SVGRenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyleConstants.h ('k') | Source/core/rendering/style/SVGRenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698