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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 // layoutDidGetCalled indicates whether this render object was re-laid-out | 990 // layoutDidGetCalled indicates whether this render object was re-laid-out |
991 // since the last call to setLayoutDidGetCalled(false) on this object. | 991 // since the last call to setLayoutDidGetCalled(false) on this object. |
992 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } | 992 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } |
993 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } | 993 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } |
994 | 994 |
995 bool shouldDisableLayoutState() const { return hasColumns() || hasTransform(
) || hasReflection() || style()->isFlippedBlocksWritingMode(); } | 995 bool shouldDisableLayoutState() const { return hasColumns() || hasTransform(
) || hasReflection() || style()->isFlippedBlocksWritingMode(); } |
996 | 996 |
997 protected: | 997 protected: |
998 inline bool layerCreationAllowedForSubtree() const; | 998 inline bool layerCreationAllowedForSubtree() const; |
999 | 999 |
1000 // Overrides should call the superclass at the end | 1000 // Overrides should call the superclass at the end. m_style will be 0 the fi
rst time |
1001 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); | 1001 // this function will be called. |
1002 // Overrides should call the superclass at the start | 1002 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle); |
| 1003 // Overrides should call the superclass at the start. |oldStyle| will be 0 t
he first |
| 1004 // time this function is called. |
1003 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 1005 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
1004 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); | 1006 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); |
1005 | 1007 |
1006 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo
xSide, | 1008 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo
xSide, |
1007 Color, EBorderStyle, int adjbw1, int adjbw2, bool an
tialias = false); | 1009 Color, EBorderStyle, int adjbw1, int adjbw2, bool an
tialias = false); |
1008 void drawDashedOrDottedBoxSide(GraphicsContext*, int x1, int y1, int x2, int
y2, | 1010 void drawDashedOrDottedBoxSide(GraphicsContext*, int x1, int y1, int x2, int
y2, |
1009 BoxSide, Color, int thickness, EBorderStyle, bool antialias); | 1011 BoxSide, Color, int thickness, EBorderStyle, bool antialias); |
1010 void drawDoubleBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, | 1012 void drawDoubleBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, |
1011 int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjac
entWidth2, bool antialias); | 1013 int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjac
entWidth2, bool antialias); |
1012 void drawRidgeOrGrooveBoxSide(GraphicsContext*, int x1, int y1, int x2, int
y2, | 1014 void drawRidgeOrGrooveBoxSide(GraphicsContext*, int x1, int y1, int x2, int
y2, |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1418 void showTree(const WebCore::RenderObject*); | 1420 void showTree(const WebCore::RenderObject*); |
1419 void showLineTree(const WebCore::RenderObject*); | 1421 void showLineTree(const WebCore::RenderObject*); |
1420 void showRenderTree(const WebCore::RenderObject* object1); | 1422 void showRenderTree(const WebCore::RenderObject* object1); |
1421 // We don't make object2 an optional parameter so that showRenderTree | 1423 // We don't make object2 an optional parameter so that showRenderTree |
1422 // can be called from gdb easily. | 1424 // can be called from gdb easily. |
1423 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1425 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1424 | 1426 |
1425 #endif | 1427 #endif |
1426 | 1428 |
1427 #endif // RenderObject_h | 1429 #endif // RenderObject_h |
OLD | NEW |