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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 227 |
228 // Block flows subclass availableWidth to handle multi column layout (shrink
ing the width available to children when laying out.) | 228 // Block flows subclass availableWidth to handle multi column layout (shrink
ing the width available to children when laying out.) |
229 virtual LayoutUnit availableLogicalWidth() const OVERRIDE FINAL; | 229 virtual LayoutUnit availableLogicalWidth() const OVERRIDE FINAL; |
230 | 230 |
231 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const; | 231 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const; |
232 void adjustStartEdgeForWritingModeIncludingColumns(LayoutRect&) const; | 232 void adjustStartEdgeForWritingModeIncludingColumns(LayoutRect&) const; |
233 | 233 |
234 RootInlineBox* firstRootBox() const { return static_cast<RootInlineBox*>(fir
stLineBox()); } | 234 RootInlineBox* firstRootBox() const { return static_cast<RootInlineBox*>(fir
stLineBox()); } |
235 RootInlineBox* lastRootBox() const { return static_cast<RootInlineBox*>(last
LineBox()); } | 235 RootInlineBox* lastRootBox() const { return static_cast<RootInlineBox*>(last
LineBox()); } |
236 | 236 |
237 bool containsNonZeroBidiLevel() const; | |
238 | |
239 GapRects selectionGapRectsForRepaint(const RenderLayerModelObject* repaintCo
ntainer); | 237 GapRects selectionGapRectsForRepaint(const RenderLayerModelObject* repaintCo
ntainer); |
240 LayoutRect logicalLeftSelectionGap(RenderBlock* rootBlock, const LayoutPoint
& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 238 LayoutRect logicalLeftSelectionGap(RenderBlock* rootBlock, const LayoutPoint
& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
241 RenderObject* selObj, LayoutUnit logicalL
eft, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo*); | 239 RenderObject* selObj, LayoutUnit logicalL
eft, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo*); |
242 LayoutRect logicalRightSelectionGap(RenderBlock* rootBlock, const LayoutPoin
t& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 240 LayoutRect logicalRightSelectionGap(RenderBlock* rootBlock, const LayoutPoin
t& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
243 RenderObject* selObj, LayoutUnit logical
Right, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo*); | 241 RenderObject* selObj, LayoutUnit logical
Right, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo*); |
244 void getSelectionGapInfo(SelectionState, bool& leftGap, bool& rightGap); | 242 void getSelectionGapInfo(SelectionState, bool& leftGap, bool& rightGap); |
245 RenderBlock* blockBeforeWithinSelectionRoot(LayoutSize& offset) const; | 243 RenderBlock* blockBeforeWithinSelectionRoot(LayoutSize& offset) const; |
246 | 244 |
247 LayoutRect logicalRectToPhysicalRect(const LayoutPoint& physicalPosition, co
nst LayoutRect& logicalRect); | 245 LayoutRect logicalRectToPhysicalRect(const LayoutPoint& physicalPosition, co
nst LayoutRect& logicalRect); |
248 | 246 |
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1319 static String string(const int value); | 1317 static String string(const int value); |
1320 }; | 1318 }; |
1321 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1319 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
1322 static String string(const RenderBlock::FloatingObject*); | 1320 static String string(const RenderBlock::FloatingObject*); |
1323 }; | 1321 }; |
1324 #endif | 1322 #endif |
1325 | 1323 |
1326 } // namespace WebCore | 1324 } // namespace WebCore |
1327 | 1325 |
1328 #endif // RenderBlock_h | 1326 #endif // RenderBlock_h |
OLD | NEW |