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

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

Issue 470633002: Rename repaint to paintInvalidation in rendering/style. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 DataRef<StyleMiscData> misc; 416 DataRef<StyleMiscData> misc;
417 DataRef<StyleResourceData> resources; 417 DataRef<StyleResourceData> resources;
418 418
419 private: 419 private:
420 enum CreateDefaultType { CreateDefault }; 420 enum CreateDefaultType { CreateDefault };
421 421
422 SVGRenderStyle(); 422 SVGRenderStyle();
423 SVGRenderStyle(const SVGRenderStyle&); 423 SVGRenderStyle(const SVGRenderStyle&);
424 SVGRenderStyle(CreateDefaultType); // Used to create the default style. 424 SVGRenderStyle(CreateDefaultType); // Used to create the default style.
425 425
426 bool diffNeedsLayoutAndRepaint(const SVGRenderStyle* other) const; 426 bool diffNeedsLayoutAndPaintInvalidation(const SVGRenderStyle* other) const;
427 bool diffNeedsRepaint(const SVGRenderStyle* other) const; 427 bool diffNeedsPaintInvalidation(const SVGRenderStyle* other) const;
428 428
429 void setBitDefaults() 429 void setBitDefaults()
430 { 430 {
431 svg_inherited_flags._clipRule = initialClipRule(); 431 svg_inherited_flags._clipRule = initialClipRule();
432 svg_inherited_flags._colorRendering = initialColorRendering(); 432 svg_inherited_flags._colorRendering = initialColorRendering();
433 svg_inherited_flags._fillRule = initialFillRule(); 433 svg_inherited_flags._fillRule = initialFillRule();
434 svg_inherited_flags._shapeRendering = initialShapeRendering(); 434 svg_inherited_flags._shapeRendering = initialShapeRendering();
435 svg_inherited_flags._textAnchor = initialTextAnchor(); 435 svg_inherited_flags._textAnchor = initialTextAnchor();
436 svg_inherited_flags._capStyle = initialCapStyle(); 436 svg_inherited_flags._capStyle = initialCapStyle();
437 svg_inherited_flags._joinStyle = initialJoinStyle(); 437 svg_inherited_flags._joinStyle = initialJoinStyle();
(...skipping 10 matching lines...) Expand all
448 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); 448 svg_noninherited_flags.f._baselineShift = initialBaselineShift();
449 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); 449 svg_noninherited_flags.f._vectorEffect = initialVectorEffect();
450 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); 450 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering();
451 svg_noninherited_flags.f.maskType = initialMaskType(); 451 svg_noninherited_flags.f.maskType = initialMaskType();
452 } 452 }
453 }; 453 };
454 454
455 } // namespace blink 455 } // namespace blink
456 456
457 #endif // SVGRenderStyle_h 457 #endif // SVGRenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/core/rendering/style/SVGRenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698