| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "core/layout/LayoutGrid.h" | 46 #include "core/layout/LayoutGrid.h" |
| 47 #include "core/layout/LayoutInline.h" | 47 #include "core/layout/LayoutInline.h" |
| 48 #include "core/layout/LayoutListBox.h" | 48 #include "core/layout/LayoutListBox.h" |
| 49 #include "core/layout/LayoutListMarker.h" | 49 #include "core/layout/LayoutListMarker.h" |
| 50 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" | 50 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" |
| 51 #include "core/layout/LayoutPart.h" | 51 #include "core/layout/LayoutPart.h" |
| 52 #include "core/layout/LayoutScrollbarPart.h" | 52 #include "core/layout/LayoutScrollbarPart.h" |
| 53 #include "core/layout/LayoutTableCell.h" | 53 #include "core/layout/LayoutTableCell.h" |
| 54 #include "core/layout/LayoutView.h" | 54 #include "core/layout/LayoutView.h" |
| 55 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" | 55 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" |
| 56 #include "core/layout/shapes/ShapeOutsideInfo.h" |
| 56 #include "core/page/AutoscrollController.h" | 57 #include "core/page/AutoscrollController.h" |
| 57 #include "core/page/Page.h" | 58 #include "core/page/Page.h" |
| 58 #include "core/paint/BackgroundImageGeometry.h" | 59 #include "core/paint/BackgroundImageGeometry.h" |
| 59 #include "core/paint/BoxPainter.h" | 60 #include "core/paint/BoxPainter.h" |
| 60 #include "core/paint/DeprecatedPaintLayer.h" | 61 #include "core/paint/DeprecatedPaintLayer.h" |
| 61 #include "core/style/ShadowList.h" | 62 #include "core/style/ShadowList.h" |
| 62 #include "platform/LengthFunctions.h" | 63 #include "platform/LengthFunctions.h" |
| 63 #include "platform/geometry/DoubleRect.h" | 64 #include "platform/geometry/DoubleRect.h" |
| 64 #include "platform/geometry/FloatQuad.h" | 65 #include "platform/geometry/FloatQuad.h" |
| 65 #include "platform/geometry/FloatRoundedRect.h" | 66 #include "platform/geometry/FloatRoundedRect.h" |
| (...skipping 4702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4768 | 4769 |
| 4769 bool LayoutBox::canRenderBorderImage() const | 4770 bool LayoutBox::canRenderBorderImage() const |
| 4770 { | 4771 { |
| 4771 if (!style()->hasBorderDecoration()) | 4772 if (!style()->hasBorderDecoration()) |
| 4772 return false; | 4773 return false; |
| 4773 | 4774 |
| 4774 StyleImage* borderImage = style()->borderImage().image(); | 4775 StyleImage* borderImage = style()->borderImage().image(); |
| 4775 return borderImage && borderImage->canRender(*this, style()->effectiveZoom()
) && borderImage->isLoaded(); | 4776 return borderImage && borderImage->canRender(*this, style()->effectiveZoom()
) && borderImage->isLoaded(); |
| 4776 } | 4777 } |
| 4777 | 4778 |
| 4779 ShapeOutsideInfo* LayoutBox::shapeOutsideInfo() const |
| 4780 { |
| 4781 return ShapeOutsideInfo::isEnabledFor(*this) ? ShapeOutsideInfo::info(*this)
: nullptr; |
| 4782 } |
| 4783 |
| 4778 } // namespace blink | 4784 } // namespace blink |
| OLD | NEW |