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

Side by Side Diff: Source/core/rendering/svg/SVGRenderSupport.h

Issue 23785014: [SVG] Resources should be laid out in dependecy order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: text-layout-crash.html needs image result update. Created 7 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) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. 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 28 matching lines...) Expand all
39 class RenderStyle; 39 class RenderStyle;
40 class RenderSVGRoot; 40 class RenderSVGRoot;
41 class TransformState; 41 class TransformState;
42 42
43 // SVGRendererSupport is a helper class sharing code between all SVG renderers. 43 // SVGRendererSupport is a helper class sharing code between all SVG renderers.
44 class SVGRenderSupport { 44 class SVGRenderSupport {
45 public: 45 public:
46 // Shares child layouting code between RenderSVGRoot/RenderSVG(Hidden)Contai ner 46 // Shares child layouting code between RenderSVGRoot/RenderSVG(Hidden)Contai ner
47 static void layoutChildren(RenderObject*, bool selfNeedsLayout); 47 static void layoutChildren(RenderObject*, bool selfNeedsLayout);
48 48
49 // Layout resources used by this node.
50 static void layoutResourcesIfNeeded(const RenderObject*);
51
49 // Helper function determining wheter overflow is hidden 52 // Helper function determining wheter overflow is hidden
50 static bool isOverflowHidden(const RenderObject*); 53 static bool isOverflowHidden(const RenderObject*);
51 54
52 // Calculates the repaintRect in combination with filter, clipper and masker in local coordinates. 55 // Calculates the repaintRect in combination with filter, clipper and masker in local coordinates.
53 static void intersectRepaintRectWithResources(const RenderObject*, FloatRect &); 56 static void intersectRepaintRectWithResources(const RenderObject*, FloatRect &);
54 57
55 // Determines whether a container needs to be laid out because it's filtered and a child is being laid out. 58 // Determines whether a container needs to be laid out because it's filtered and a child is being laid out.
56 static bool filtersForceContainerLayout(RenderObject*); 59 static bool filtersForceContainerLayout(RenderObject*);
57 60
58 // Determines whether the passed point lies in a clipping area 61 // Determines whether the passed point lies in a clipping area
(...skipping 24 matching lines...) Expand all
83 86
84 private: 87 private:
85 // This class is not constructable. 88 // This class is not constructable.
86 SVGRenderSupport(); 89 SVGRenderSupport();
87 ~SVGRenderSupport(); 90 ~SVGRenderSupport();
88 }; 91 };
89 92
90 } // namespace WebCore 93 } // namespace WebCore
91 94
92 #endif // SVGRenderSupport_h 95 #endif // SVGRenderSupport_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.cpp ('k') | Source/core/rendering/svg/SVGRenderSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698