| 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) 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // true) can/will be laid out as part of a <text>. | 138 // true) can/will be laid out as part of a <text>. |
| 139 static bool isLayoutableTextNode(const LayoutObject*); | 139 static bool isLayoutableTextNode(const LayoutObject*); |
| 140 | 140 |
| 141 // Determines whether a svg node should isolate or not based on ComputedStyle. | 141 // Determines whether a svg node should isolate or not based on ComputedStyle. |
| 142 static bool willIsolateBlendingDescendantsForStyle(const ComputedStyle&); | 142 static bool willIsolateBlendingDescendantsForStyle(const ComputedStyle&); |
| 143 static bool willIsolateBlendingDescendantsForObject(const LayoutObject*); | 143 static bool willIsolateBlendingDescendantsForObject(const LayoutObject*); |
| 144 template <typename LayoutObjectType> | 144 template <typename LayoutObjectType> |
| 145 static bool computeHasNonIsolatedBlendingDescendants(const LayoutObjectType*); | 145 static bool computeHasNonIsolatedBlendingDescendants(const LayoutObjectType*); |
| 146 static bool isIsolationRequired(const LayoutObject*); | 146 static bool isIsolationRequired(const LayoutObject*); |
| 147 | 147 |
| 148 static AffineTransform deprecatedCalculateTransformToLayer( | |
| 149 const LayoutObject*); | |
| 150 static float calculateScreenFontSizeScalingFactor(const LayoutObject*); | 148 static float calculateScreenFontSizeScalingFactor(const LayoutObject*); |
| 151 | 149 |
| 152 static LayoutObject* findClosestLayoutSVGText(LayoutObject*, | 150 static LayoutObject* findClosestLayoutSVGText(LayoutObject*, |
| 153 const FloatPoint&); | 151 const FloatPoint&); |
| 154 | 152 |
| 155 private: | 153 private: |
| 156 static void updateObjectBoundingBox(FloatRect& objectBoundingBox, | 154 static void updateObjectBoundingBox(FloatRect& objectBoundingBox, |
| 157 bool& objectBoundingBoxValid, | 155 bool& objectBoundingBoxValid, |
| 158 LayoutObject* other, | 156 LayoutObject* other, |
| 159 FloatRect otherBoundingBox); | 157 FloatRect otherBoundingBox); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 if (child->hasNonIsolatedBlendingDescendants() && | 218 if (child->hasNonIsolatedBlendingDescendants() && |
| 221 !willIsolateBlendingDescendantsForObject(child)) | 219 !willIsolateBlendingDescendantsForObject(child)) |
| 222 return true; | 220 return true; |
| 223 } | 221 } |
| 224 return false; | 222 return false; |
| 225 } | 223 } |
| 226 | 224 |
| 227 } // namespace blink | 225 } // namespace blink |
| 228 | 226 |
| 229 #endif // SVGLayoutSupport_h | 227 #endif // SVGLayoutSupport_h |
| OLD | NEW |