| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> | 2 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 5 * Copyright (C) 2007, 2008, 2009 Rob Buis <buis@kde.org> | 5 * Copyright (C) 2007, 2008, 2009 Rob Buis <buis@kde.org> |
| 6 * Copyright (C) 2009 Google, Inc. | 6 * Copyright (C) 2009 Google, Inc. |
| 7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 8 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> | 8 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * along with this library; see the file COPYING.LIB. If not, write to | 21 * along with this library; see the file COPYING.LIB. If not, write to |
| 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 | 27 |
| 28 #include "core/rendering/svg/RenderSVGImage.h" | 28 #include "core/rendering/svg/RenderSVGImage.h" |
| 29 | 29 |
| 30 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 30 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
| 31 #include "core/rendering/GraphicsContextAnnotator.h" |
| 31 #include "core/rendering/ImageQualityController.h" | 32 #include "core/rendering/ImageQualityController.h" |
| 32 #include "core/rendering/LayoutRepainter.h" | 33 #include "core/rendering/LayoutRepainter.h" |
| 33 #include "core/rendering/PointerEventsHitRules.h" | 34 #include "core/rendering/PointerEventsHitRules.h" |
| 34 #include "core/rendering/RenderImageResource.h" | 35 #include "core/rendering/RenderImageResource.h" |
| 35 #include "core/rendering/svg/RenderSVGResource.h" | 36 #include "core/rendering/svg/RenderSVGResource.h" |
| 36 #include "core/rendering/svg/SVGRenderingContext.h" | 37 #include "core/rendering/svg/SVGRenderingContext.h" |
| 37 #include "core/rendering/svg/SVGResources.h" | 38 #include "core/rendering/svg/SVGResources.h" |
| 38 #include "core/rendering/svg/SVGResourcesCache.h" | 39 #include "core/rendering/svg/SVGResourcesCache.h" |
| 39 #include "core/svg/SVGImageElement.h" | 40 #include "core/svg/SVGImageElement.h" |
| 40 | 41 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 221 |
| 221 void RenderSVGImage::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint
&, const RenderLayerModelObject*) | 222 void RenderSVGImage::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint
&, const RenderLayerModelObject*) |
| 222 { | 223 { |
| 223 // this is called from paint() after the localTransform has already been app
lied | 224 // this is called from paint() after the localTransform has already been app
lied |
| 224 IntRect contentRect = enclosingIntRect(repaintRectInLocalCoordinates()); | 225 IntRect contentRect = enclosingIntRect(repaintRectInLocalCoordinates()); |
| 225 if (!contentRect.isEmpty()) | 226 if (!contentRect.isEmpty()) |
| 226 rects.append(contentRect); | 227 rects.append(contentRect); |
| 227 } | 228 } |
| 228 | 229 |
| 229 } // namespace WebCore | 230 } // namespace WebCore |
| OLD | NEW |