Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: sky/engine/core/rendering/RenderParagraph.h

Issue 729693003: First step at getting rid of anonymous blocks and continuations. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address review comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | sky/engine/core/rendering/RenderParagraph.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ed7a5525a4487297b1a40b4140294f06475b2b52
--- /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 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 // RenderParagraph_h
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | sky/engine/core/rendering/RenderParagraph.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698