| 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 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 RespectImageOrientationEnum shouldRespectImageOrientation() const; | 961 RespectImageOrientationEnum shouldRespectImageOrientation() const; |
| 962 | 962 |
| 963 bool isRelayoutBoundaryForInspector() const; | 963 bool isRelayoutBoundaryForInspector() const; |
| 964 | 964 |
| 965 const LayoutRect& newRepaintRect() const { return m_newRepaintRect; } | 965 const LayoutRect& newRepaintRect() const { return m_newRepaintRect; } |
| 966 void setNewRepaintRect(const LayoutRect& rect) { m_newRepaintRect = rect; } | 966 void setNewRepaintRect(const LayoutRect& rect) { m_newRepaintRect = rect; } |
| 967 | 967 |
| 968 const LayoutRect& oldRepaintRect() const { return m_oldRepaintRect; } | 968 const LayoutRect& oldRepaintRect() const { return m_oldRepaintRect; } |
| 969 void setOldRepaintRect(const LayoutRect& rect) { m_oldRepaintRect = rect; } | 969 void setOldRepaintRect(const LayoutRect& rect) { m_oldRepaintRect = rect; } |
| 970 | 970 |
| 971 const LayoutRect newOutlineRect(); |
| 972 void setNewOutlineRect(const LayoutRect&); |
| 973 |
| 974 const LayoutRect oldOutlineRect(); |
| 975 void setOldOutlineRect(const LayoutRect&); |
| 976 |
| 971 bool shouldDoFullRepaintAfterLayout() const { return m_bitfields.shouldDoFul
lRepaintAfterLayout(); } | 977 bool shouldDoFullRepaintAfterLayout() const { return m_bitfields.shouldDoFul
lRepaintAfterLayout(); } |
| 972 void setShouldDoFullRepaintAfterLayout(bool b) { m_bitfields.setShouldDoFull
RepaintAfterLayout(b); } | 978 void setShouldDoFullRepaintAfterLayout(bool b) { m_bitfields.setShouldDoFull
RepaintAfterLayout(b); } |
| 973 bool shouldRepaintOverflowIfNeeded() const { return m_bitfields.shouldRepain
tOverflowIfNeeded(); } | 979 bool shouldRepaintOverflowIfNeeded() const { return m_bitfields.shouldRepain
tOverflowIfNeeded(); } |
| 974 | 980 |
| 975 void clearRepaintRects() | 981 void clearRepaintState(); |
| 976 { | |
| 977 setNewRepaintRect(LayoutRect()); | |
| 978 setOldRepaintRect(LayoutRect()); | |
| 979 | |
| 980 setShouldDoFullRepaintAfterLayout(false); | |
| 981 setShouldRepaintOverflowIfNeeded(false); | |
| 982 setLayoutDidGetCalled(false); | |
| 983 } | |
| 984 | 982 |
| 985 // layoutDidGetCalled indicates whether this render object was re-laid-out | 983 // layoutDidGetCalled indicates whether this render object was re-laid-out |
| 986 // since the last call to setLayoutDidGetCalled(false) on this object. | 984 // since the last call to setLayoutDidGetCalled(false) on this object. |
| 987 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } | 985 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } |
| 988 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } | 986 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } |
| 989 | 987 |
| 990 bool shouldDisableLayoutState() const { return hasColumns() || hasTransform(
) || hasReflection() || style()->isFlippedBlocksWritingMode(); } | 988 bool shouldDisableLayoutState() const { return hasColumns() || hasTransform(
) || hasReflection() || style()->isFlippedBlocksWritingMode(); } |
| 991 | 989 |
| 992 protected: | 990 protected: |
| 993 inline bool layerCreationAllowedForSubtree() const; | 991 inline bool layerCreationAllowedForSubtree() const; |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 void showTree(const WebCore::RenderObject*); | 1408 void showTree(const WebCore::RenderObject*); |
| 1411 void showLineTree(const WebCore::RenderObject*); | 1409 void showLineTree(const WebCore::RenderObject*); |
| 1412 void showRenderTree(const WebCore::RenderObject* object1); | 1410 void showRenderTree(const WebCore::RenderObject* object1); |
| 1413 // We don't make object2 an optional parameter so that showRenderTree | 1411 // We don't make object2 an optional parameter so that showRenderTree |
| 1414 // can be called from gdb easily. | 1412 // can be called from gdb easily. |
| 1415 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1413 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1416 | 1414 |
| 1417 #endif | 1415 #endif |
| 1418 | 1416 |
| 1419 #endif // RenderObject_h | 1417 #endif // RenderObject_h |
| OLD | NEW |