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

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

Issue 12616003: Merge 144350 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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) 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual const char* renderName() const { return "RenderSVGImage"; } 53 virtual const char* renderName() const { return "RenderSVGImage"; }
54 virtual bool isSVGImage() const { return true; } 54 virtual bool isSVGImage() const { return true; }
55 55
56 virtual const AffineTransform& localToParentTransform() const { return m_loc alTransform; } 56 virtual const AffineTransform& localToParentTransform() const { return m_loc alTransform; }
57 57
58 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; } 58 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; }
59 virtual FloatRect strokeBoundingBox() const { return m_objectBoundingBox; } 59 virtual FloatRect strokeBoundingBox() const { return m_objectBoundingBox; }
60 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo undingBox; } 60 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo undingBox; }
61 virtual FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const OV ERRIDE { return m_repaintBoundingBoxExcludingShadow; } 61 virtual FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const OV ERRIDE { return m_repaintBoundingBoxExcludingShadow; }
62 62
63 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint&); 63 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE;
64 64
65 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); 65 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
66 66
67 virtual void layout(); 67 virtual void layout();
68 virtual void paint(PaintInfo&, const LayoutPoint&); 68 virtual void paint(PaintInfo&, const LayoutPoint&);
69 69
70 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction); 70 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction);
71 71
72 virtual AffineTransform localTransform() const { return m_localTransform; } 72 virtual AffineTransform localTransform() const { return m_localTransform; }
73 void calculateImageViewport(); 73 void calculateImageViewport();
(...skipping 19 matching lines...) Expand all
93 return static_cast<const RenderSVGImage*>(object); 93 return static_cast<const RenderSVGImage*>(object);
94 } 94 }
95 95
96 // This will catch anyone doing an unnecessary cast. 96 // This will catch anyone doing an unnecessary cast.
97 void toRenderSVGImage(const RenderSVGImage*); 97 void toRenderSVGImage(const RenderSVGImage*);
98 98
99 } // namespace WebCore 99 } // namespace WebCore
100 100
101 #endif // ENABLE(SVG) 101 #endif // ENABLE(SVG)
102 #endif // RenderSVGImage_h 102 #endif // RenderSVGImage_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/svg/RenderSVGContainer.cpp ('k') | Source/WebCore/rendering/svg/RenderSVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698