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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 } | 569 } |
570 | 570 |
571 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject*) con
st | 571 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject*) con
st |
572 { | 572 { |
573 ASSERT_NOT_REACHED(); | 573 ASSERT_NOT_REACHED(); |
574 return 0; | 574 return 0; |
575 } | 575 } |
576 | 576 |
577 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir
ection() == object->style()->direction(); } | 577 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir
ection() == object->style()->direction(); } |
578 | 578 |
579 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | |
580 static void reportStaticMembersMemoryUsage(MemoryInstrumentation*); | |
581 | |
582 #if ENABLE(CSS_EXCLUSIONS) | 579 #if ENABLE(CSS_EXCLUSIONS) |
583 ExclusionShapeOutsideInfo* exclusionShapeOutsideInfo() const | 580 ExclusionShapeOutsideInfo* exclusionShapeOutsideInfo() const |
584 { | 581 { |
585 return isFloatingWithShapeOutside() && ExclusionShapeOutsideInfo::isEnab
ledFor(this) ? ExclusionShapeOutsideInfo::info(this) : 0; | 582 return isFloatingWithShapeOutside() && ExclusionShapeOutsideInfo::isEnab
ledFor(this) ? ExclusionShapeOutsideInfo::info(this) : 0; |
586 } | 583 } |
587 #endif | 584 #endif |
588 | 585 |
589 protected: | 586 protected: |
590 virtual void willBeDestroyed(); | 587 virtual void willBeDestroyed(); |
591 | 588 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 } | 723 } |
727 | 724 |
728 inline RenderBox* RenderBox::lastChildBox() const | 725 inline RenderBox* RenderBox::lastChildBox() const |
729 { | 726 { |
730 return toRenderBox(lastChild()); | 727 return toRenderBox(lastChild()); |
731 } | 728 } |
732 | 729 |
733 } // namespace WebCore | 730 } // namespace WebCore |
734 | 731 |
735 #endif // RenderBox_h | 732 #endif // RenderBox_h |
OLD | NEW |