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

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

Issue 754493002: Start splitting RenderParagraph logic out of RenderBlock (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
Index: sky/engine/core/rendering/RenderParagraph.h
diff --git a/sky/engine/core/rendering/RenderParagraph.h b/sky/engine/core/rendering/RenderParagraph.h
index 92d63bba50fdc6c0c270bd657e10413f20a2c934..6d6d6e1070659371c3e822ac1ae41bbb1e372bb8 100644
--- a/sky/engine/core/rendering/RenderParagraph.h
+++ b/sky/engine/core/rendering/RenderParagraph.h
@@ -20,6 +20,16 @@ public:
static RenderParagraph* createAnonymous(Document&);
bool isRenderParagraph() const override { return true; }
+
+protected:
+ virtual void addOverflowFromChildren() override;
ojan 2014/11/22 00:35:34 These should all be final which, I believe means y
rafaelw 2014/11/26 19:13:00 Done.
+
+ virtual void simplifiedNormalFlowLayout() override;
+
+ virtual void paintContents(PaintInfo&, const LayoutPoint&) override;
+
+ virtual bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
+
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderParagraph, isRenderParagraph());

Powered by Google App Engine
This is Rietveld 408576698