OLD | NEW |
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 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
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 10 matching lines...) Expand all Loading... |
21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
22 */ | 22 */ |
23 | 23 |
24 #include "config.h" | 24 #include "config.h" |
25 | 25 |
26 #include "core/rendering/svg/RenderSVGRoot.h" | 26 #include "core/rendering/svg/RenderSVGRoot.h" |
27 | 27 |
28 #include "core/frame/LocalFrame.h" | 28 #include "core/frame/LocalFrame.h" |
29 #include "core/layout/HitTestResult.h" | 29 #include "core/layout/HitTestResult.h" |
30 #include "core/layout/Layer.h" | 30 #include "core/layout/Layer.h" |
| 31 #include "core/layout/LayoutPart.h" |
31 #include "core/layout/svg/SVGLayoutSupport.h" | 32 #include "core/layout/svg/SVGLayoutSupport.h" |
32 #include "core/layout/svg/SVGResourcesCache.h" | 33 #include "core/layout/svg/SVGResourcesCache.h" |
33 #include "core/paint/SVGRootPainter.h" | 34 #include "core/paint/SVGRootPainter.h" |
34 #include "core/rendering/RenderPart.h" | |
35 #include "core/rendering/RenderView.h" | 35 #include "core/rendering/RenderView.h" |
36 #include "core/svg/SVGElement.h" | 36 #include "core/svg/SVGElement.h" |
37 #include "core/svg/SVGSVGElement.h" | 37 #include "core/svg/SVGSVGElement.h" |
38 #include "core/svg/graphics/SVGImage.h" | 38 #include "core/svg/graphics/SVGImage.h" |
39 #include "platform/LengthFunctions.h" | 39 #include "platform/LengthFunctions.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 RenderSVGRoot::RenderSVGRoot(SVGElement* node) | 43 RenderSVGRoot::RenderSVGRoot(SVGElement* node) |
44 : LayoutReplaced(node) | 44 : LayoutReplaced(node) |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 updateHitTestResult(result, pointInBorderBox); | 425 updateHitTestResult(result, pointInBorderBox); |
426 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) | 426 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) |
427 return true; | 427 return true; |
428 } | 428 } |
429 } | 429 } |
430 | 430 |
431 return false; | 431 return false; |
432 } | 432 } |
433 | 433 |
434 } | 434 } |
OLD | NEW |