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

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

Issue 1310253005: Strip anonymous wrappers when a block flow no longer requires them (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 4 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
Index: Source/core/layout/LayoutBlock.h
diff --git a/Source/core/layout/LayoutBlock.h b/Source/core/layout/LayoutBlock.h
index 4225fc6b054c7947ed1bc3f4095b75b796336535..7ca8ef0b9a3d6f67cf13fa55b5e0d1cad15215dc 100644
--- a/Source/core/layout/LayoutBlock.h
+++ b/Source/core/layout/LayoutBlock.h
@@ -232,6 +232,11 @@ protected:
void layout() override;
bool updateImageLoadingPriorities() final;
+ enum AdjacentSiblings {
+ PreviousSiblings,
+ NextSiblings
+ };
+
enum PositionedLayoutBehavior {
DefaultLayout,
LayoutOnlyFixedPositionedObjects,
@@ -319,6 +324,7 @@ private:
void dirtyLinesFromChangedChild(LayoutObject* child) final { m_lineBoxes.dirtyLinesFromChangedChild(LineLayoutItem(this), LineLayoutItem(child)); }
void addChildIgnoringContinuation(LayoutObject* newChild, LayoutObject* beforeChild) override;
+ void addAdjacentSiblingsToAnonymousBox(AdjacentSiblings, LayoutBlock* anonymousBox);
bool isSelfCollapsingBlock() const override;

Powered by Google App Engine
This is Rietveld 408576698