#include "core/rendering/shapes/Shape.h"
#include "platform/geometry/FloatRoundedRect.h"
-namespace WebCore {
+namespace blink {
-class BoxShape FINAL : public Shape {
+class BoxShape final : public Shape {
public:
BoxShape(const FloatRoundedRect& bounds)
: Shape()
{
}
- virtual LayoutRect shapeMarginLogicalBoundingBox() const OVERRIDE;
- virtual bool isEmpty() const OVERRIDE { return m_bounds.isEmpty(); }
- virtual void getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) const OVERRIDE;
- virtual void buildDisplayPaths(DisplayPaths&) const OVERRIDE;
+ virtual LayoutRect shapeMarginLogicalBoundingBox() const override;
+ virtual bool isEmpty() const override { return m_bounds.isEmpty(); }
+ virtual LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const override;
+ virtual void buildDisplayPaths(DisplayPaths&) const override;
private:
FloatRoundedRect shapeMarginBounds() const;
FloatRoundedRect m_bounds;
};
-} // namespace WebCore
+} // namespace blink
#endif // BoxShape_h