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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 virtual bool hitTestFloats(HitTestResult&, const HitTestLocation&, const Lay
outPoint&) { return false; } | 338 virtual bool hitTestFloats(HitTestResult&, const HitTestLocation&, const Lay
outPoint&) { return false; } |
339 | 339 |
340 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& loc
ationInContainer, const LayoutPoint& accumulatedOffset); | 340 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& loc
ationInContainer, const LayoutPoint& accumulatedOffset); |
341 | 341 |
342 void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutU
nit& maxLogicalWidth) const; | 342 void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutU
nit& maxLogicalWidth) const; |
343 | 343 |
344 // Obtains the nearest enclosing block (including this block) that contribut
es a first-line style to our inline | 344 // Obtains the nearest enclosing block (including this block) that contribut
es a first-line style to our inline |
345 // children. | 345 // children. |
346 LayoutBlock* firstLineBlock() const override; | 346 LayoutBlock* firstLineBlock() const override; |
347 | 347 |
348 LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidationState
* = nullptr) const final; | |
349 | |
350 LayoutObject* hoverAncestor() const final; | 348 LayoutObject* hoverAncestor() const final; |
351 void updateDragState(bool dragOn) final; | 349 void updateDragState(bool dragOn) final; |
352 void childBecameNonInline(LayoutObject* child) final; | 350 void childBecameNonInline(LayoutObject* child) final; |
353 | 351 |
354 bool isSelectionRoot() const; | 352 bool isSelectionRoot() const; |
355 | 353 |
356 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst override; | 354 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst override; |
357 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; | 355 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; |
358 | 356 |
359 private: | 357 private: |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 // FIXME: This is temporary as we move code that accesses block flow | 428 // FIXME: This is temporary as we move code that accesses block flow |
431 // member variables out of LayoutBlock and into LayoutBlockFlow. | 429 // member variables out of LayoutBlock and into LayoutBlockFlow. |
432 friend class LayoutBlockFlow; | 430 friend class LayoutBlockFlow; |
433 }; | 431 }; |
434 | 432 |
435 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 433 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
436 | 434 |
437 } // namespace blink | 435 } // namespace blink |
438 | 436 |
439 #endif // LayoutBlock_h | 437 #endif // LayoutBlock_h |
OLD | NEW |