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

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

Issue 1164723004: Remove block continuation support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBlock.h
diff --git a/Source/core/layout/LayoutBlock.h b/Source/core/layout/LayoutBlock.h
index d720cb44689a19fbe0b62a374ddebfa24bb3dc3b..cbb776afa94a5c3b0709c318318db89942e1635b 100644
--- a/Source/core/layout/LayoutBlock.h
+++ b/Source/core/layout/LayoutBlock.h
@@ -167,17 +167,12 @@ public:
virtual LayoutBoxModelObject* virtualContinuation() const override final { return continuation(); }
bool isAnonymousBlockContinuation() const { return continuation() && isAnonymousBlock(); }
LayoutInline* inlineElementContinuation() const;
- LayoutBlock* blockElementContinuation() const;
using LayoutBoxModelObject::continuation;
using LayoutBoxModelObject::setContinuation;
static LayoutBlock* createAnonymousWithParentAndDisplay(const LayoutObject*, EDisplay = BLOCK);
- static LayoutBlockFlow* createAnonymousColumnsWithParent(const LayoutObject*);
- static LayoutBlockFlow* createAnonymousColumnSpanWithParent(const LayoutObject*);
LayoutBlock* createAnonymousBlock(EDisplay display = BLOCK) const { return createAnonymousWithParentAndDisplay(this, display); }
- LayoutBlockFlow* createAnonymousColumnsBlock() const { return createAnonymousColumnsWithParent(this); }
- LayoutBlockFlow* createAnonymousColumnSpanBlock() const { return createAnonymousColumnSpanWithParent(this); }
virtual LayoutBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override;
@@ -318,11 +313,7 @@ private:
virtual void dirtyLinesFromChangedChild(LayoutObject* child) override final { m_lineBoxes.dirtyLinesFromChangedChild(this, child); }
- void addChildToContinuation(LayoutObject* newChild, LayoutObject* beforeChild);
virtual void addChildIgnoringContinuation(LayoutObject* newChild, LayoutObject* beforeChild) override;
- void addChildToAnonymousColumnBlocks(LayoutObject* newChild, LayoutObject* beforeChild);
-
- void addChildIgnoringAnonymousColumnBlocks(LayoutObject* newChild, LayoutObject* beforeChild = 0);
virtual bool isSelfCollapsingBlock() const override;
@@ -369,17 +360,6 @@ private:
Position positionForBox(InlineBox*, bool start = true) const;
PositionWithAffinity positionForPointWithInlineChildren(const LayoutPoint&);
- void makeChildrenAnonymousColumnBlocks(LayoutObject* beforeChild, LayoutBlockFlow* newBlockBox, LayoutObject* newChild);
-
- void splitBlocks(LayoutBlock* fromBlock, LayoutBlock* toBlock, LayoutBlock* middleBlock,
- LayoutObject* beforeChild, LayoutBoxModelObject* oldCont);
- void splitFlow(LayoutObject* beforeChild, LayoutBlock* newBlockBox,
- LayoutObject* newChild, LayoutBoxModelObject* oldCont);
- LayoutBlock* clone() const;
- LayoutBlock* continuationBefore(LayoutObject* beforeChild);
- LayoutBlockFlow* containingColumnsBlock(bool allowAnonymousColumnBlock = true);
- LayoutBlockFlow* columnsBlockForSpanningElement(LayoutObject* newChild);
-
// End helper functions and structs used by layoutBlockChildren.
void removeFromGlobalMaps();
« no previous file with comments | « no previous file | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698