RenderDetailsMarker.h [plain text]
#pragma once
#include "DetailsMarkerControl.h"
#include "RenderBlockFlow.h"
namespace WebCore {
class RenderDetailsMarker final : public RenderBlockFlow {
WTF_MAKE_ISO_ALLOCATED(RenderDetailsMarker);
public:
RenderDetailsMarker(DetailsMarkerControl&, RenderStyle&&);
DetailsMarkerControl& element() const { return static_cast<DetailsMarkerControl&>(nodeForNonAnonymous()); }
enum Orientation { Up, Down, Left, Right };
Orientation orientation() const;
private:
const char* renderName() const override { return "RenderDetailsMarker"; }
bool isDetailsMarker() const override { return true; }
void paint(PaintInfo&, const LayoutPoint&) override;
bool isOpen() const;
Path getCanonicalPath() const;
Path getPath(const LayoutPoint& origin) const;
};
}
SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderDetailsMarker, isDetailsMarker())