OLD | NEW |
1 /** | 1 /** |
2 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "core/rendering/svg/SVGInlineTextBox.h" | 23 #include "core/rendering/svg/SVGInlineTextBox.h" |
24 | 24 |
25 #include "core/page/Frame.h" | 25 #include "core/page/Frame.h" |
26 #include "core/page/FrameView.h" | 26 #include "core/page/FrameView.h" |
27 #include "core/platform/FloatConversion.h" | 27 #include "core/platform/FloatConversion.h" |
28 #include "core/platform/graphics/FontCache.h" | 28 #include "core/platform/graphics/FontCache.h" |
29 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 29 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
30 #include "core/rendering/HitTestResult.h" | 30 #include "core/rendering/HitTestResult.h" |
31 #include "core/rendering/InlineFlowBox.h" | 31 #include "core/rendering/InlineFlowBox.h" |
32 #include "core/rendering/PointerEventsHitRules.h" | 32 #include "core/rendering/PointerEventsHitRules.h" |
33 #include "core/rendering/RenderBlock.h" | |
34 #include "core/rendering/svg/RenderSVGInlineText.h" | 33 #include "core/rendering/svg/RenderSVGInlineText.h" |
35 #include "core/rendering/svg/RenderSVGResource.h" | 34 #include "core/rendering/svg/RenderSVGResource.h" |
36 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" | 35 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" |
37 #include "core/rendering/svg/SVGRenderingContext.h" | |
38 #include "core/rendering/svg/SVGResourcesCache.h" | 36 #include "core/rendering/svg/SVGResourcesCache.h" |
39 #include "core/rendering/svg/SVGRootInlineBox.h" | |
40 #include "core/rendering/svg/SVGTextRunRenderingContext.h" | 37 #include "core/rendering/svg/SVGTextRunRenderingContext.h" |
41 | 38 |
42 using namespace std; | 39 using namespace std; |
43 | 40 |
44 namespace WebCore { | 41 namespace WebCore { |
45 | 42 |
46 struct ExpectedSVGInlineTextBoxSize : public InlineTextBox { | 43 struct ExpectedSVGInlineTextBoxSize : public InlineTextBox { |
47 float float1; | 44 float float1; |
48 uint32_t bitfields : 5; | 45 uint32_t bitfields : 5; |
49 void* pointer; | 46 void* pointer; |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 renderer()->updateHitTestResult(result, locationInContainer.poin
t() - toLayoutSize(accumulatedOffset)); | 724 renderer()->updateHitTestResult(result, locationInContainer.poin
t() - toLayoutSize(accumulatedOffset)); |
728 if (!result.addNodeToRectBasedTestResult(renderer()->node(), req
uest, locationInContainer, rect)) | 725 if (!result.addNodeToRectBasedTestResult(renderer()->node(), req
uest, locationInContainer, rect)) |
729 return true; | 726 return true; |
730 } | 727 } |
731 } | 728 } |
732 } | 729 } |
733 return false; | 730 return false; |
734 } | 731 } |
735 | 732 |
736 } // namespace WebCore | 733 } // namespace WebCore |
OLD | NEW |