Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 283 // It is expected that the caller will call this function independent of the value of paintInfo.phase. | 283 // It is expected that the caller will call this function independent of the value of paintInfo.phase. |
| 284 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint& ); | 284 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint& ); |
| 285 protected: | 285 protected: |
| 286 virtual void willBeDestroyed() OVERRIDE; | 286 virtual void willBeDestroyed() OVERRIDE; |
| 287 | 287 |
| 288 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); | 288 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); |
| 289 | 289 |
| 290 virtual void layout() OVERRIDE; | 290 virtual void layout() OVERRIDE; |
| 291 virtual bool updateImageLoadingPriorities() OVERRIDE FINAL; | 291 virtual bool updateImageLoadingPriorities() OVERRIDE FINAL; |
| 292 | 292 |
| 293 void layoutPositionedObjects(bool relayoutChildren, bool fixedPositionObject sOnly = false); | 293 void layoutPositionedObjects(bool relayoutChildren, bool fixedPositionObject sOnly = false, bool parentMoved = false); |
|
Julien - ping for review
2014/03/07 00:01:10
Really not a huge fan of more booleans here.
dsinclair
2014/03/07 03:18:56
Better?
| |
| 294 void markFixedPositionObjectForLayoutIfNeeded(RenderObject* child, SubtreeLa youtScope&); | 294 void markFixedPositionObjectForLayoutIfNeeded(RenderObject* child, SubtreeLa youtScope&); |
| 295 | 295 |
| 296 LayoutUnit marginIntrinsicLogicalWidthForChild(RenderBox* child) const; | 296 LayoutUnit marginIntrinsicLogicalWidthForChild(RenderBox* child) const; |
| 297 | 297 |
| 298 int beforeMarginInLineDirection(LineDirectionMode) const; | 298 int beforeMarginInLineDirection(LineDirectionMode) const; |
| 299 | 299 |
| 300 virtual bool supportsPartialLayout() const OVERRIDE { return true; }; | 300 virtual bool supportsPartialLayout() const OVERRIDE { return true; }; |
| 301 | 301 |
| 302 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; | 302 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
| 303 virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE; | 303 virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE; |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 580 return false; | 580 return false; |
| 581 } | 581 } |
| 582 return true; | 582 return true; |
| 583 } | 583 } |
| 584 | 584 |
| 585 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 585 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
| 586 | 586 |
| 587 } // namespace WebCore | 587 } // namespace WebCore |
| 588 | 588 |
| 589 #endif // RenderBlock_h | 589 #endif // RenderBlock_h |
| OLD | NEW |