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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlock.h

Issue 1674323002: Detect a change in border that affects a positioned object's height or position (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 unsigned m_hasMarginAfterQuirk : 1; 484 unsigned m_hasMarginAfterQuirk : 1;
485 unsigned m_beingDestroyed : 1; 485 unsigned m_beingDestroyed : 1;
486 unsigned m_hasMarkupTruncation : 1; 486 unsigned m_hasMarkupTruncation : 1;
487 unsigned m_widthAvailableToChildrenChanged : 1; 487 unsigned m_widthAvailableToChildrenChanged : 1;
488 mutable unsigned m_hasOnlySelfCollapsingChildren : 1; 488 mutable unsigned m_hasOnlySelfCollapsingChildren : 1;
489 mutable unsigned m_descendantsWithFloatsMarkedForLayout : 1; 489 mutable unsigned m_descendantsWithFloatsMarkedForLayout : 1;
490 490
491 unsigned m_hasPositionedObjects : 1; 491 unsigned m_hasPositionedObjects : 1;
492 unsigned m_hasPercentHeightDescendants : 1; 492 unsigned m_hasPercentHeightDescendants : 1;
493 493
494 mutable unsigned m_heightAvailableToChildrenChanged : 1;
mstensho (USE GERRIT) 2016/02/17 10:19:42 Please put this next to m_widthAvailableToChildren
494 // LayoutRubyBase objects need to be able to split and merge, moving their c hildren around 495 // LayoutRubyBase objects need to be able to split and merge, moving their c hildren around
495 // (calling moveChildTo, moveAllChildrenTo, and makeChildrenNonInline). 496 // (calling moveChildTo, moveAllChildrenTo, and makeChildrenNonInline).
496 friend class LayoutRubyBase; 497 friend class LayoutRubyBase;
497 // FIXME-BLOCKFLOW: Remove this when the line layout stuff has all moved out of LayoutBlock 498 // FIXME-BLOCKFLOW: Remove this when the line layout stuff has all moved out of LayoutBlock
498 friend class LineBreaker; 499 friend class LineBreaker;
499 500
500 // FIXME: This is temporary as we move code that accesses block flow 501 // FIXME: This is temporary as we move code that accesses block flow
501 // member variables out of LayoutBlock and into LayoutBlockFlow. 502 // member variables out of LayoutBlock and into LayoutBlockFlow.
502 friend class LayoutBlockFlow; 503 friend class LayoutBlockFlow;
503 }; 504 };
504 505
505 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); 506 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock());
506 507
507 } // namespace blink 508 } // namespace blink
508 509
509 #endif // LayoutBlock_h 510 #endif // LayoutBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698