| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 LayoutUnit blockDirectionOffset(const LayoutSize& offsetFromBlock) const; | 215 LayoutUnit blockDirectionOffset(const LayoutSize& offsetFromBlock) const; |
| 216 LayoutUnit inlineDirectionOffset(const LayoutSize& offsetFromBlock) const; | 216 LayoutUnit inlineDirectionOffset(const LayoutSize& offsetFromBlock) const; |
| 217 | 217 |
| 218 LayoutBlock* blockBeforeWithinSelectionRoot(LayoutSize& offset) const; | 218 LayoutBlock* blockBeforeWithinSelectionRoot(LayoutSize& offset) const; |
| 219 | 219 |
| 220 void setSelectionState(SelectionState) override; | 220 void setSelectionState(SelectionState) override; |
| 221 | 221 |
| 222 static LayoutBlock* createAnonymousWithParentAndDisplay( | 222 static LayoutBlock* createAnonymousWithParentAndDisplay( |
| 223 const LayoutObject*, | 223 const LayoutObject*, |
| 224 EDisplay = EDisplay::Block); | 224 EDisplay = EDisplay::kBlock); |
| 225 LayoutBlock* createAnonymousBlock(EDisplay display = EDisplay::Block) const { | 225 LayoutBlock* createAnonymousBlock(EDisplay display = EDisplay::kBlock) const { |
| 226 return createAnonymousWithParentAndDisplay(this, display); | 226 return createAnonymousWithParentAndDisplay(this, display); |
| 227 } | 227 } |
| 228 | 228 |
| 229 LayoutBox* createAnonymousBoxWithSameTypeAs( | 229 LayoutBox* createAnonymousBoxWithSameTypeAs( |
| 230 const LayoutObject* parent) const override; | 230 const LayoutObject* parent) const override; |
| 231 | 231 |
| 232 int columnGap() const; | 232 int columnGap() const; |
| 233 | 233 |
| 234 // Accessors for logical width/height and margins in the containing block's | 234 // Accessors for logical width/height and margins in the containing block's |
| 235 // block-flow direction. | 235 // block-flow direction. |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 // TODO(lunalu): Temporary in order to ensure compatibility with existing | 568 // TODO(lunalu): Temporary in order to ensure compatibility with existing |
| 569 // layout test results. | 569 // layout test results. |
| 570 virtual void adjustChildDebugRect(LayoutRect&) const {} | 570 virtual void adjustChildDebugRect(LayoutRect&) const {} |
| 571 }; | 571 }; |
| 572 | 572 |
| 573 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 573 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 574 | 574 |
| 575 } // namespace blink | 575 } // namespace blink |
| 576 | 576 |
| 577 #endif // LayoutBlock_h | 577 #endif // LayoutBlock_h |
| OLD | NEW |