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

Side by Side Diff: Source/core/rendering/svg/RenderSVGImage.h

Issue 463883003: Rename repaint to paintInvalidation in core/rendering/svg. (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) 2006 Alexander Kellett <lypanov@kde.org> 2 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org>
3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Rob Buis <buis@kde.org> 4 * Copyright (C) 2007 Rob Buis <buis@kde.org>
5 * Copyright (C) 2009 Google, Inc. 5 * Copyright (C) 2009 Google, Inc.
6 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> 6 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void paintForeground(PaintInfo&); 47 void paintForeground(PaintInfo&);
48 48
49 private: 49 private:
50 virtual const char* renderName() const OVERRIDE { return "RenderSVGImage"; } 50 virtual const char* renderName() const OVERRIDE { return "RenderSVGImage"; }
51 virtual bool isSVGImage() const OVERRIDE { return true; } 51 virtual bool isSVGImage() const OVERRIDE { return true; }
52 52
53 virtual const AffineTransform& localToParentTransform() const OVERRIDE { ret urn m_localTransform; } 53 virtual const AffineTransform& localToParentTransform() const OVERRIDE { ret urn m_localTransform; }
54 54
55 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundi ngBox; } 55 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundi ngBox; }
56 virtual FloatRect strokeBoundingBox() const OVERRIDE { return m_objectBoundi ngBox; } 56 virtual FloatRect strokeBoundingBox() const OVERRIDE { return m_objectBoundi ngBox; }
57 virtual FloatRect paintInvalidationRectInLocalCoordinates() const OVERRIDE { return m_repaintBoundingBox; } 57 virtual FloatRect paintInvalidationRectInLocalCoordinates() const OVERRIDE { return m_paintInvalidationBoundingBox; }
58 58
59 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) const OVERRIDE; 59 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) const OVERRIDE;
60 60
61 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; 61 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE;
62 62
63 virtual void layout() OVERRIDE; 63 virtual void layout() OVERRIDE;
64 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; 64 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
65 65
66 void invalidateBufferedForeground(); 66 void invalidateBufferedForeground();
67 67
68 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction) OVERRIDE; 68 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction) OVERRIDE;
69 69
70 virtual AffineTransform localTransform() const OVERRIDE { return m_localTran sform; } 70 virtual AffineTransform localTransform() const OVERRIDE { return m_localTran sform; }
71 71
72 bool m_needsBoundariesUpdate : 1; 72 bool m_needsBoundariesUpdate : 1;
73 bool m_needsTransformUpdate : 1; 73 bool m_needsTransformUpdate : 1;
74 AffineTransform m_localTransform; 74 AffineTransform m_localTransform;
75 FloatRect m_objectBoundingBox; 75 FloatRect m_objectBoundingBox;
76 FloatRect m_repaintBoundingBox; 76 FloatRect m_paintInvalidationBoundingBox;
77 OwnPtr<RenderImageResource> m_imageResource; 77 OwnPtr<RenderImageResource> m_imageResource;
78 78
79 OwnPtr<ImageBuffer> m_bufferedForeground; 79 OwnPtr<ImageBuffer> m_bufferedForeground;
80 }; 80 };
81 81
82 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGImage, isSVGImage()); 82 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGImage, isSVGImage());
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif // RenderSVGImage_h 86 #endif // RenderSVGImage_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGForeignObject.cpp ('k') | Source/core/rendering/svg/RenderSVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698