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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 class RenderBlock; | 60 class RenderBlock; |
61 class RenderFlowThread; | 61 class RenderFlowThread; |
62 class RenderGeometryMap; | 62 class RenderGeometryMap; |
63 class RenderLayer; | 63 class RenderLayer; |
64 class RenderLayerModelObject; | 64 class RenderLayerModelObject; |
65 class RenderNamedFlowThread; | 65 class RenderNamedFlowThread; |
66 class RenderSVGResourceContainer; | 66 class RenderSVGResourceContainer; |
67 class RenderTable; | 67 class RenderTable; |
68 class RenderTheme; | 68 class RenderTheme; |
69 class RenderView; | 69 class RenderView; |
| 70 class ResourceLoadPriorityOptimizer; |
70 class TransformState; | 71 class TransformState; |
71 | 72 |
72 struct PaintInfo; | 73 struct PaintInfo; |
73 | 74 |
74 enum CursorDirective { | 75 enum CursorDirective { |
75 SetCursorBasedOnStyle, | 76 SetCursorBasedOnStyle, |
76 SetCursor, | 77 SetCursor, |
77 DoNotSetCursor | 78 DoNotSetCursor |
78 }; | 79 }; |
79 | 80 |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 void scheduleRelayout(); | 668 void scheduleRelayout(); |
668 | 669 |
669 void updateFillImages(const FillLayer*, const FillLayer*); | 670 void updateFillImages(const FillLayer*, const FillLayer*); |
670 void updateImage(StyleImage*, StyleImage*); | 671 void updateImage(StyleImage*, StyleImage*); |
671 void updateShapeImage(const ShapeValue*, const ShapeValue*); | 672 void updateShapeImage(const ShapeValue*, const ShapeValue*); |
672 | 673 |
673 virtual void paint(PaintInfo&, const LayoutPoint&); | 674 virtual void paint(PaintInfo&, const LayoutPoint&); |
674 | 675 |
675 // Recursive function that computes the size and position of this object and
all its descendants. | 676 // Recursive function that computes the size and position of this object and
all its descendants. |
676 virtual void layout(); | 677 virtual void layout(); |
| 678 virtual void didLayout(ResourceLoadPriorityOptimizer&); |
| 679 virtual void didScroll(ResourceLoadPriorityOptimizer&); |
677 | 680 |
678 /* This function performs a layout only if one is needed. */ | 681 /* This function performs a layout only if one is needed. */ |
679 void layoutIfNeeded() { if (needsLayout()) layout(); } | 682 void layoutIfNeeded() { if (needsLayout()) layout(); } |
680 | 683 |
681 void forceLayout(); | 684 void forceLayout(); |
682 void forceChildLayout(); | 685 void forceChildLayout(); |
683 | 686 |
684 // True if we can abort layout, leaving a partially laid out tree. | 687 // True if we can abort layout, leaving a partially laid out tree. |
685 virtual bool supportsPartialLayout() const { return false; } | 688 virtual bool supportsPartialLayout() const { return false; } |
686 | 689 |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1413 void showTree(const WebCore::RenderObject*); | 1416 void showTree(const WebCore::RenderObject*); |
1414 void showLineTree(const WebCore::RenderObject*); | 1417 void showLineTree(const WebCore::RenderObject*); |
1415 void showRenderTree(const WebCore::RenderObject* object1); | 1418 void showRenderTree(const WebCore::RenderObject* object1); |
1416 // We don't make object2 an optional parameter so that showRenderTree | 1419 // We don't make object2 an optional parameter so that showRenderTree |
1417 // can be called from gdb easily. | 1420 // can be called from gdb easily. |
1418 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1421 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1419 | 1422 |
1420 #endif | 1423 #endif |
1421 | 1424 |
1422 #endif // RenderObject_h | 1425 #endif // RenderObject_h |
OLD | NEW |