OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #include "core/paint/BackgroundImageGeometry.h" | 58 #include "core/paint/BackgroundImageGeometry.h" |
59 #include "core/paint/BoxPainter.h" | 59 #include "core/paint/BoxPainter.h" |
60 #include "core/paint/PaintLayer.h" | 60 #include "core/paint/PaintLayer.h" |
61 #include "core/style/ShadowList.h" | 61 #include "core/style/ShadowList.h" |
62 #include "platform/LengthFunctions.h" | 62 #include "platform/LengthFunctions.h" |
63 #include "platform/geometry/DoubleRect.h" | 63 #include "platform/geometry/DoubleRect.h" |
64 #include "platform/geometry/FloatQuad.h" | 64 #include "platform/geometry/FloatQuad.h" |
65 #include "platform/geometry/FloatRoundedRect.h" | 65 #include "platform/geometry/FloatRoundedRect.h" |
66 #include "platform/geometry/TransformState.h" | 66 #include "platform/geometry/TransformState.h" |
67 #include "platform/graphics/GraphicsContext.h" | 67 #include "platform/graphics/GraphicsContext.h" |
68 #include "platform/graphics/paint/DisplayItemList.h" | 68 #include "platform/graphics/paint/PaintController.h" |
69 #include <algorithm> | 69 #include <algorithm> |
70 #include <math.h> | 70 #include <math.h> |
71 | 71 |
72 namespace blink { | 72 namespace blink { |
73 | 73 |
74 using namespace HTMLNames; | 74 using namespace HTMLNames; |
75 | 75 |
76 // Used by flexible boxes when flexing this element and by table cells. | 76 // Used by flexible boxes when flexing this element and by table cells. |
77 typedef WTF::HashMap<const LayoutBox*, LayoutUnit> OverrideSizeMap; | 77 typedef WTF::HashMap<const LayoutBox*, LayoutUnit> OverrideSizeMap; |
78 | 78 |
(...skipping 4755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4834 StyleImage* borderImage = style()->borderImage().image(); | 4834 StyleImage* borderImage = style()->borderImage().image(); |
4835 return borderImage && borderImage->canRender(*this, style()->effectiveZoom()
) && borderImage->isLoaded(); | 4835 return borderImage && borderImage->canRender(*this, style()->effectiveZoom()
) && borderImage->isLoaded(); |
4836 } | 4836 } |
4837 | 4837 |
4838 ShapeOutsideInfo* LayoutBox::shapeOutsideInfo() const | 4838 ShapeOutsideInfo* LayoutBox::shapeOutsideInfo() const |
4839 { | 4839 { |
4840 return ShapeOutsideInfo::isEnabledFor(*this) ? ShapeOutsideInfo::info(*this)
: nullptr; | 4840 return ShapeOutsideInfo::isEnabledFor(*this) ? ShapeOutsideInfo::info(*this)
: nullptr; |
4841 } | 4841 } |
4842 | 4842 |
4843 } // namespace blink | 4843 } // namespace blink |
OLD | NEW |