OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 | 661 |
662 void updateFillImages(const FillLayer*, const FillLayer*); | 662 void updateFillImages(const FillLayer*, const FillLayer*); |
663 void updateImage(StyleImage*, StyleImage*); | 663 void updateImage(StyleImage*, StyleImage*); |
664 void updateShapeImage(const ShapeValue*, const ShapeValue*); | 664 void updateShapeImage(const ShapeValue*, const ShapeValue*); |
665 | 665 |
666 virtual void paint(PaintInfo&, const LayoutPoint&); | 666 virtual void paint(PaintInfo&, const LayoutPoint&); |
667 | 667 |
668 // Subclasses must reimplement this method to compute the size and position | 668 // Subclasses must reimplement this method to compute the size and position |
669 // of this object and all its descendants. | 669 // of this object and all its descendants. |
670 virtual void layout() = 0; | 670 virtual void layout() = 0; |
671 virtual void didLayout(ResourceLoadPriorityOptimizer&); | 671 virtual bool updateImageLoadingPriorities() { return false; } |
672 virtual void didScroll(ResourceLoadPriorityOptimizer&); | |
673 | 672 |
674 /* This function performs a layout only if one is needed. */ | 673 /* This function performs a layout only if one is needed. */ |
675 void layoutIfNeeded() { if (needsLayout()) layout(); } | 674 void layoutIfNeeded() { if (needsLayout()) layout(); } |
676 | 675 |
677 void forceLayout(); | 676 void forceLayout(); |
678 void forceChildLayout(); | 677 void forceChildLayout(); |
679 | 678 |
680 // True if we can abort layout, leaving a partially laid out tree. | 679 // True if we can abort layout, leaving a partially laid out tree. |
681 virtual bool supportsPartialLayout() const { return false; } | 680 virtual bool supportsPartialLayout() const { return false; } |
682 | 681 |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 void showTree(const WebCore::RenderObject*); | 1426 void showTree(const WebCore::RenderObject*); |
1428 void showLineTree(const WebCore::RenderObject*); | 1427 void showLineTree(const WebCore::RenderObject*); |
1429 void showRenderTree(const WebCore::RenderObject* object1); | 1428 void showRenderTree(const WebCore::RenderObject* object1); |
1430 // We don't make object2 an optional parameter so that showRenderTree | 1429 // We don't make object2 an optional parameter so that showRenderTree |
1431 // can be called from gdb easily. | 1430 // can be called from gdb easily. |
1432 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1431 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1433 | 1432 |
1434 #endif | 1433 #endif |
1435 | 1434 |
1436 #endif // RenderObject_h | 1435 #endif // RenderObject_h |
OLD | NEW |