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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 void setHasLayer(bool hasLayer) { m_bitfields.setHasLayer(hasLayer); } | 433 void setHasLayer(bool hasLayer) { m_bitfields.setHasLayer(hasLayer); } |
434 void setHasTransform(bool hasTransform) { m_bitfields.setHasTransform(hasTra
nsform); } | 434 void setHasTransform(bool hasTransform) { m_bitfields.setHasTransform(hasTra
nsform); } |
435 void setHasBoxDecorationBackground(bool b) { m_bitfields.setHasBoxDecoration
Background(b); } | 435 void setHasBoxDecorationBackground(bool b) { m_bitfields.setHasBoxDecoration
Background(b); } |
436 | 436 |
437 void scheduleRelayout(); | 437 void scheduleRelayout(); |
438 | 438 |
439 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers
); | 439 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers
); |
440 void updateImage(StyleImage*, StyleImage*); | 440 void updateImage(StyleImage*, StyleImage*); |
441 | 441 |
442 // paintOffset is the offset from the origin of the GraphicsContext at which
to paint the current object. | 442 // paintOffset is the offset from the origin of the GraphicsContext at which
to paint the current object. |
443 virtual void paint(PaintInfo&, const LayoutPoint& paintOffset); | 443 virtual void paint(PaintInfo&, const LayoutPoint& paintOffset, Vector<Render
Box*>& layers); |
444 | 444 |
445 // Subclasses must reimplement this method to compute the size and position | 445 // Subclasses must reimplement this method to compute the size and position |
446 // of this object and all its descendants. | 446 // of this object and all its descendants. |
447 virtual void layout() = 0; | 447 virtual void layout() = 0; |
448 | 448 |
449 /* This function performs a layout only if one is needed. */ | 449 /* This function performs a layout only if one is needed. */ |
450 void layoutIfNeeded() { if (needsLayout()) layout(); } | 450 void layoutIfNeeded() { if (needsLayout()) layout(); } |
451 | 451 |
452 void forceLayout(); | 452 void forceLayout(); |
453 void forceChildLayout(); | 453 void forceChildLayout(); |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 void showTree(const blink::RenderObject*); | 916 void showTree(const blink::RenderObject*); |
917 void showLineTree(const blink::RenderObject*); | 917 void showLineTree(const blink::RenderObject*); |
918 void showRenderTree(const blink::RenderObject* object1); | 918 void showRenderTree(const blink::RenderObject* object1); |
919 // We don't make object2 an optional parameter so that showRenderTree | 919 // We don't make object2 an optional parameter so that showRenderTree |
920 // can be called from gdb easily. | 920 // can be called from gdb easily. |
921 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 921 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
922 | 922 |
923 #endif | 923 #endif |
924 | 924 |
925 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ | 925 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ |
OLD | NEW |