Index: sky/engine/core/rendering/RenderParagraph.h |
diff --git a/sky/engine/core/rendering/RenderParagraph.h b/sky/engine/core/rendering/RenderParagraph.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f6f2d67798e6fbfb8b78245a58182649af60cf6c |
--- /dev/null |
+++ b/sky/engine/core/rendering/RenderParagraph.h |
@@ -0,0 +1,29 @@ |
+// 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 RenderParagraph_h |
+#define RenderParagraph_h |
+ |
+#include "core/dom/ContainerNode.h" |
+#include "core/rendering/RenderBlockFlow.h" |
+ |
+namespace blink { |
+ |
+class ContainerNode; |
+ |
+class RenderParagraph : public RenderBlockFlow { |
esprehn
2014/11/18 00:20:02
final
ojan
2014/11/18 02:39:37
done
|
+public: |
+ explicit RenderParagraph(ContainerNode*); |
+ virtual ~RenderParagraph(); |
+ |
+ static RenderParagraph* createAnonymous(Document*); |
esprehn
2014/11/18 00:20:02
take a reference.
ojan
2014/11/18 02:39:37
done
|
+ |
+ bool isRenderParagraph() const override { return true; } |
+}; |
+ |
+DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderParagraph, isRenderParagraph()); |
+ |
+} // namespace blink |
+ |
+#endif // RenderParagraph_h |