| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 // this condition. | 331 // this condition. |
| 332 virtual bool shouldIgnoreOverflowPropertyForInlineBlockBaseline() const { re
turn false; } | 332 virtual bool shouldIgnoreOverflowPropertyForInlineBlockBaseline() const { re
turn false; } |
| 333 | 333 |
| 334 void updateHitTestResult(HitTestResult&, const LayoutPoint&) override; | 334 void updateHitTestResult(HitTestResult&, const LayoutPoint&) override; |
| 335 | 335 |
| 336 // Delay update scrollbar until finishDelayUpdateScrollInfo() will be | 336 // Delay update scrollbar until finishDelayUpdateScrollInfo() will be |
| 337 // called. This function is used when a flexbox is laying out its | 337 // called. This function is used when a flexbox is laying out its |
| 338 // descendant. If multiple calls are made to startDelayUpdateScrollInfo(), | 338 // descendant. If multiple calls are made to startDelayUpdateScrollInfo(), |
| 339 // finishDelayUpdateScrollInfo() will do nothing until finishDelayUpdateScro
llInfo() | 339 // finishDelayUpdateScrollInfo() will do nothing until finishDelayUpdateScro
llInfo() |
| 340 // is called the same number of times. | 340 // is called the same number of times. |
| 341 // finishDelayUpdateScrollInfo returns true when it marked something for lay
out. | |
| 342 static void startDelayUpdateScrollInfo(); | 341 static void startDelayUpdateScrollInfo(); |
| 343 static bool finishDelayUpdateScrollInfo(SubtreeLayoutScope*); | 342 static void finishDelayUpdateScrollInfo(); |
| 344 | 343 |
| 345 void updateScrollInfoAfterLayout(); | 344 void updateScrollInfoAfterLayout(); |
| 346 | 345 |
| 347 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; | 346 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; |
| 348 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 347 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 349 | 348 |
| 350 virtual bool hasLineIfEmpty() const; | 349 virtual bool hasLineIfEmpty() const; |
| 351 | 350 |
| 352 bool simplifiedLayout(); | 351 bool simplifiedLayout(); |
| 353 virtual void simplifiedNormalFlowLayout(); | 352 virtual void simplifiedNormalFlowLayout(); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // FIXME: This is temporary as we move code that accesses block flow | 501 // FIXME: This is temporary as we move code that accesses block flow |
| 503 // member variables out of LayoutBlock and into LayoutBlockFlow. | 502 // member variables out of LayoutBlock and into LayoutBlockFlow. |
| 504 friend class LayoutBlockFlow; | 503 friend class LayoutBlockFlow; |
| 505 }; | 504 }; |
| 506 | 505 |
| 507 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 506 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 508 | 507 |
| 509 } // namespace blink | 508 } // namespace blink |
| 510 | 509 |
| 511 #endif // LayoutBlock_h | 510 #endif // LayoutBlock_h |
| OLD | NEW |