| 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. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. |
| 6 * All rights reserved. | 6 * All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 return !style()->isLeftToRightDirection() | 306 return !style()->isLeftToRightDirection() |
| 307 ? logicalLeftOffsetForContent() | 307 ? logicalLeftOffsetForContent() |
| 308 : logicalWidth() - logicalRightOffsetForContent(); | 308 : logicalWidth() - logicalRightOffsetForContent(); |
| 309 } | 309 } |
| 310 | 310 |
| 311 virtual LayoutUnit logicalLeftSelectionOffset(const LayoutBlock* rootBlock, | 311 virtual LayoutUnit logicalLeftSelectionOffset(const LayoutBlock* rootBlock, |
| 312 LayoutUnit position) const; | 312 LayoutUnit position) const; |
| 313 virtual LayoutUnit logicalRightSelectionOffset(const LayoutBlock* rootBlock, | 313 virtual LayoutUnit logicalRightSelectionOffset(const LayoutBlock* rootBlock, |
| 314 LayoutUnit position) const; | 314 LayoutUnit position) const; |
| 315 | 315 |
| 316 #if ENABLE(ASSERT) | 316 #if DCHECK_IS_ON() |
| 317 void checkPositionedObjectsNeedLayout(); | 317 void checkPositionedObjectsNeedLayout(); |
| 318 #endif | 318 #endif |
| 319 | 319 |
| 320 LayoutUnit availableLogicalHeightForPercentageComputation() const; | 320 LayoutUnit availableLogicalHeightForPercentageComputation() const; |
| 321 bool hasDefiniteLogicalHeight() const; | 321 bool hasDefiniteLogicalHeight() const; |
| 322 | 322 |
| 323 protected: | 323 protected: |
| 324 bool recalcNormalFlowChildOverflowIfNeeded(LayoutObject*); | 324 bool recalcNormalFlowChildOverflowIfNeeded(LayoutObject*); |
| 325 bool recalcPositionedDescendantsOverflowAfterStyleChange(); | 325 bool recalcPositionedDescendantsOverflowAfterStyleChange(); |
| 326 | 326 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 // TODO(lunalu): Temporary in order to ensure compatibility with existing | 561 // TODO(lunalu): Temporary in order to ensure compatibility with existing |
| 562 // layout test results. | 562 // layout test results. |
| 563 virtual void adjustChildDebugRect(LayoutRect&) const {} | 563 virtual void adjustChildDebugRect(LayoutRect&) const {} |
| 564 }; | 564 }; |
| 565 | 565 |
| 566 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 566 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 567 | 567 |
| 568 } // namespace blink | 568 } // namespace blink |
| 569 | 569 |
| 570 #endif // LayoutBlock_h | 570 #endif // LayoutBlock_h |
| OLD | NEW |