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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID
E; | 417 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID
E; |
418 | 418 |
419 LayoutUnit desiredColumnWidth() const; | 419 LayoutUnit desiredColumnWidth() const; |
420 | 420 |
421 void paintContinuationOutlines(PaintInfo&, const LayoutPoint&); | 421 void paintContinuationOutlines(PaintInfo&, const LayoutPoint&); |
422 | 422 |
423 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0) OVERRIDE FINAL; | 423 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0) OVERRIDE FINAL; |
424 | 424 |
425 void adjustPointToColumnContents(LayoutPoint&) const; | 425 void adjustPointToColumnContents(LayoutPoint&) const; |
426 | 426 |
427 void fitBorderToLinesIfNeeded(); // Shrink the box in which the border paint
s if border-fit is set. | |
428 virtual void adjustForBorderFit(LayoutUnit x, LayoutUnit& left, LayoutUnit&
right) const; // Helper function for borderFitAdjust | |
429 | |
430 void markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBot
tom, RootInlineBox* highest = 0); | 427 void markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBot
tom, RootInlineBox* highest = 0); |
431 | 428 |
432 Position positionForBox(InlineBox*, bool start = true) const; | 429 Position positionForBox(InlineBox*, bool start = true) const; |
433 PositionWithAffinity positionForPointWithInlineChildren(const LayoutPoint&); | 430 PositionWithAffinity positionForPointWithInlineChildren(const LayoutPoint&); |
434 | 431 |
435 void calcColumnWidth(); | 432 void calcColumnWidth(); |
436 void makeChildrenAnonymousColumnBlocks(RenderObject* beforeChild, RenderBloc
kFlow* newBlockBox, RenderObject* newChild); | 433 void makeChildrenAnonymousColumnBlocks(RenderObject* beforeChild, RenderBloc
kFlow* newBlockBox, RenderObject* newChild); |
437 | 434 |
438 void splitBlocks(RenderBlock* fromBlock, RenderBlock* toBlock, RenderBlock*
middleBlock, | 435 void splitBlocks(RenderBlock* fromBlock, RenderBlock* toBlock, RenderBlock*
middleBlock, |
439 RenderObject* beforeChild, RenderBoxModelObject* oldCont); | 436 RenderObject* beforeChild, RenderBoxModelObject* oldCont); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 // FIXME: This is temporary as we move code that accesses block flow | 519 // FIXME: This is temporary as we move code that accesses block flow |
523 // member variables out of RenderBlock and into RenderBlockFlow. | 520 // member variables out of RenderBlock and into RenderBlockFlow. |
524 friend class RenderBlockFlow; | 521 friend class RenderBlockFlow; |
525 }; | 522 }; |
526 | 523 |
527 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 524 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
528 | 525 |
529 } // namespace blink | 526 } // namespace blink |
530 | 527 |
531 #endif // RenderBlock_h | 528 #endif // RenderBlock_h |
OLD | NEW |