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

Side by Side Diff: Source/core/rendering/svg/SVGInlineTextBox.cpp

Issue 658333003: Make RenderSVGResource::requestPaintingResource an implementation detail (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop SolidColorResourceType. Created 6 years, 2 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) 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 17 matching lines...) Expand all
28 #include "core/frame/LocalFrame.h" 28 #include "core/frame/LocalFrame.h"
29 #include "core/paint/SVGInlineTextBoxPainter.h" 29 #include "core/paint/SVGInlineTextBoxPainter.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/PaintInfo.h" 32 #include "core/rendering/PaintInfo.h"
33 #include "core/rendering/PointerEventsHitRules.h" 33 #include "core/rendering/PointerEventsHitRules.h"
34 #include "core/rendering/RenderInline.h" 34 #include "core/rendering/RenderInline.h"
35 #include "core/rendering/RenderTheme.h" 35 #include "core/rendering/RenderTheme.h"
36 #include "core/rendering/svg/RenderSVGInlineText.h" 36 #include "core/rendering/svg/RenderSVGInlineText.h"
37 #include "core/rendering/svg/RenderSVGResource.h" 37 #include "core/rendering/svg/RenderSVGResource.h"
38 #include "core/rendering/svg/RenderSVGResourceSolidColor.h"
39 #include "core/rendering/svg/SVGTextRunRenderingContext.h" 38 #include "core/rendering/svg/SVGTextRunRenderingContext.h"
40 #include "platform/FloatConversion.h" 39 #include "platform/FloatConversion.h"
41 #include "platform/fonts/FontCache.h" 40 #include "platform/fonts/FontCache.h"
42 #include "platform/graphics/GraphicsContextStateSaver.h" 41 #include "platform/graphics/GraphicsContextStateSaver.h"
43 42
44 namespace blink { 43 namespace blink {
45 44
46 struct ExpectedSVGInlineTextBoxSize : public InlineTextBox { 45 struct ExpectedSVGInlineTextBoxSize : public InlineTextBox {
47 float float1; 46 float float1;
48 uint32_t bitfields : 1; 47 uint32_t bitfields : 1;
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 renderer().updateHitTestResult(result, locationInContainer.point () - toLayoutSize(accumulatedOffset)); 294 renderer().updateHitTestResult(result, locationInContainer.point () - toLayoutSize(accumulatedOffset));
296 if (!result.addNodeToRectBasedTestResult(renderer().node(), requ est, locationInContainer, rect)) 295 if (!result.addNodeToRectBasedTestResult(renderer().node(), requ est, locationInContainer, rect))
297 return true; 296 return true;
298 } 297 }
299 } 298 }
300 } 299 }
301 return false; 300 return false;
302 } 301 }
303 302
304 } // namespace blink 303 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698