| 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 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 bool shouldDoFullRepaintAfterLayout() const { return m_bitfields.shouldDoFul
lRepaintAfterLayout(); } | 971 bool shouldDoFullRepaintAfterLayout() const { return m_bitfields.shouldDoFul
lRepaintAfterLayout(); } |
| 972 void setShouldDoFullRepaintAfterLayout(bool b) { m_bitfields.setShouldDoFull
RepaintAfterLayout(b); } | 972 void setShouldDoFullRepaintAfterLayout(bool b) { m_bitfields.setShouldDoFull
RepaintAfterLayout(b); } |
| 973 bool shouldRepaintOverflowIfNeeded() const { return m_bitfields.shouldRepain
tOverflowIfNeeded(); } | 973 bool shouldRepaintOverflowIfNeeded() const { return m_bitfields.shouldRepain
tOverflowIfNeeded(); } |
| 974 | 974 |
| 975 void clearRepaintRects() | 975 void clearRepaintState() |
| 976 { | 976 { |
| 977 setNewRepaintRect(LayoutRect()); | |
| 978 setOldRepaintRect(LayoutRect()); | |
| 979 | |
| 980 setShouldDoFullRepaintAfterLayout(false); | 977 setShouldDoFullRepaintAfterLayout(false); |
| 981 setShouldRepaintOverflowIfNeeded(false); | 978 setShouldRepaintOverflowIfNeeded(false); |
| 982 setLayoutDidGetCalled(false); | 979 setLayoutDidGetCalled(false); |
| 983 } | 980 } |
| 984 | 981 |
| 985 // layoutDidGetCalled indicates whether this render object was re-laid-out | 982 // layoutDidGetCalled indicates whether this render object was re-laid-out |
| 986 // since the last call to setLayoutDidGetCalled(false) on this object. | 983 // since the last call to setLayoutDidGetCalled(false) on this object. |
| 987 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } | 984 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } |
| 988 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } | 985 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } |
| 989 | 986 |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1408 void showTree(const WebCore::RenderObject*); | 1405 void showTree(const WebCore::RenderObject*); |
| 1409 void showLineTree(const WebCore::RenderObject*); | 1406 void showLineTree(const WebCore::RenderObject*); |
| 1410 void showRenderTree(const WebCore::RenderObject* object1); | 1407 void showRenderTree(const WebCore::RenderObject* object1); |
| 1411 // We don't make object2 an optional parameter so that showRenderTree | 1408 // We don't make object2 an optional parameter so that showRenderTree |
| 1412 // can be called from gdb easily. | 1409 // can be called from gdb easily. |
| 1413 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1410 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1414 | 1411 |
| 1415 #endif | 1412 #endif |
| 1416 | 1413 |
| 1417 #endif // RenderObject_h | 1414 #endif // RenderObject_h |
| OLD | NEW |