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 // 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 static void startDelayUpdateScrollInfo(); | 341 static void startDelayUpdateScrollInfo(); |
342 static void finishDelayUpdateScrollInfo(); | 342 static void finishDelayUpdateScrollInfo(); |
343 | 343 |
344 void updateScrollInfoAfterLayout(); | 344 void updateScrollInfoAfterLayout(); |
345 | 345 |
346 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid e; | 346 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid e; |
347 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ; | 347 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ; |
348 void updateFromStyle() override; | |
349 | |
350 virtual bool allowsOverflowClip() const; | |
chrishtr
2016/02/26 19:42:17
Document this.
Xianzhu
2016/02/26 20:12:57
Done.
| |
348 | 351 |
349 virtual bool hasLineIfEmpty() const; | 352 virtual bool hasLineIfEmpty() const; |
350 | 353 |
351 bool simplifiedLayout(); | 354 bool simplifiedLayout(); |
352 virtual void simplifiedNormalFlowLayout(); | 355 virtual void simplifiedNormalFlowLayout(); |
353 | 356 |
354 public: | 357 public: |
355 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); | 358 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); |
356 protected: | 359 protected: |
357 virtual void addOverflowFromChildren(); | 360 virtual void addOverflowFromChildren(); |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
501 // FIXME: This is temporary as we move code that accesses block flow | 504 // FIXME: This is temporary as we move code that accesses block flow |
502 // member variables out of LayoutBlock and into LayoutBlockFlow. | 505 // member variables out of LayoutBlock and into LayoutBlockFlow. |
503 friend class LayoutBlockFlow; | 506 friend class LayoutBlockFlow; |
504 }; | 507 }; |
505 | 508 |
506 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 509 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
507 | 510 |
508 } // namespace blink | 511 } // namespace blink |
509 | 512 |
510 #endif // LayoutBlock_h | 513 #endif // LayoutBlock_h |
OLD | NEW |