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

Unified Diff: Source/core/layout/LayoutRuby.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months 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 | « Source/core/layout/LayoutObjectInlines.h ('k') | Source/core/layout/LayoutRuby.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRuby.h
diff --git a/Source/core/layout/LayoutRuby.h b/Source/core/layout/LayoutRuby.h
index d4b7373e0ea6a13b4a7b5679184e5f8a8409743e..78c585270c1a71337532f2ac345125a694da5668 100644
--- a/Source/core/layout/LayoutRuby.h
+++ b/Source/core/layout/LayoutRuby.h
@@ -56,14 +56,14 @@ public:
LayoutRubyAsInline(Element*);
virtual ~LayoutRubyAsInline();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override;
- virtual void removeChild(RenderObject* child) override;
+ virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) override;
+ virtual void removeChild(LayoutObject* child) override;
protected:
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
private:
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRuby || RenderInline::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRuby || RenderInline::isOfType(type); }
virtual const char* renderName() const override { return "LayoutRuby (inline)"; }
virtual bool createsAnonymousWrapper() const override { return true; }
};
@@ -74,14 +74,14 @@ public:
LayoutRubyAsBlock(Element*);
virtual ~LayoutRubyAsBlock();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override;
- virtual void removeChild(RenderObject* child) override;
+ virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) override;
+ virtual void removeChild(LayoutObject* child) override;
protected:
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
private:
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRuby || RenderBlockFlow::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRuby || RenderBlockFlow::isOfType(type); }
virtual const char* renderName() const override { return "LayoutRuby (block)"; }
virtual bool createsAnonymousWrapper() const override { return true; }
virtual void removeLeftoverAnonymousBlock(RenderBlock*) override { ASSERT_NOT_REACHED(); }
« no previous file with comments | « Source/core/layout/LayoutObjectInlines.h ('k') | Source/core/layout/LayoutRuby.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698