// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ #define SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ #include "sky/engine/core/dom/ContainerNode.h" #include "sky/engine/core/rendering/RenderBlockFlow.h" namespace blink { class ContainerNode; class RenderParagraph final : public RenderBlockFlow { public: explicit RenderParagraph(ContainerNode*); virtual ~RenderParagraph(); static RenderParagraph* createAnonymous(Document&); bool isRenderParagraph() const override { return true; } }; DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderParagraph, isRenderParagraph()); } // namespace blink #endif // SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_