Chromium Code Reviews| 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 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1192 void setNeedsPositionedMovementLayout(bool b) { m_bitfields.setNeedsPosition edMovementLayout(b); } | 1192 void setNeedsPositionedMovementLayout(bool b) { m_bitfields.setNeedsPosition edMovementLayout(b); } |
| 1193 void setNormalChildNeedsLayout(bool b) { m_bitfields.setNormalChildNeedsLayo ut(b); } | 1193 void setNormalChildNeedsLayout(bool b) { m_bitfields.setNormalChildNeedsLayo ut(b); } |
| 1194 void setPosChildNeedsLayout(bool b) { m_bitfields.setPosChildNeedsLayout(b); } | 1194 void setPosChildNeedsLayout(bool b) { m_bitfields.setPosChildNeedsLayout(b); } |
| 1195 void setNeedsSimplifiedNormalFlowLayout(bool b) { m_bitfields.setNeedsSimpli fiedNormalFlowLayout(b); } | 1195 void setNeedsSimplifiedNormalFlowLayout(bool b) { m_bitfields.setNeedsSimpli fiedNormalFlowLayout(b); } |
| 1196 void setIsDragging(bool b) { m_bitfields.setIsDragging(b); } | 1196 void setIsDragging(bool b) { m_bitfields.setIsDragging(b); } |
| 1197 void setEverHadLayout(bool b) { m_bitfields.setEverHadLayout(b); } | 1197 void setEverHadLayout(bool b) { m_bitfields.setEverHadLayout(b); } |
| 1198 | 1198 |
| 1199 private: | 1199 private: |
| 1200 // Store state between styleWillChange and styleDidChange | 1200 // Store state between styleWillChange and styleDidChange |
| 1201 static bool s_affectsParentBlock; | 1201 static bool s_affectsParentBlock; |
| 1202 | |
| 1203 LayoutRect m_oldAbsoluteBoundingRect; | |
| 1204 LayoutRect m_newAbsoluteBoundingRect; | |
|
pdr.
2013/10/22 23:16:01
Can you add a comment that these are not used yet?
| |
| 1202 }; | 1205 }; |
| 1203 | 1206 |
| 1204 inline bool RenderObject::documentBeingDestroyed() const | 1207 inline bool RenderObject::documentBeingDestroyed() const |
| 1205 { | 1208 { |
| 1206 return !document().renderer(); | 1209 return !document().renderer(); |
| 1207 } | 1210 } |
| 1208 | 1211 |
| 1209 inline bool RenderObject::isBeforeContent() const | 1212 inline bool RenderObject::isBeforeContent() const |
| 1210 { | 1213 { |
| 1211 if (style()->styleType() != BEFORE) | 1214 if (style()->styleType() != BEFORE) |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1393 void showTree(const WebCore::RenderObject*); | 1396 void showTree(const WebCore::RenderObject*); |
| 1394 void showLineTree(const WebCore::RenderObject*); | 1397 void showLineTree(const WebCore::RenderObject*); |
| 1395 void showRenderTree(const WebCore::RenderObject* object1); | 1398 void showRenderTree(const WebCore::RenderObject* object1); |
| 1396 // We don't make object2 an optional parameter so that showRenderTree | 1399 // We don't make object2 an optional parameter so that showRenderTree |
| 1397 // can be called from gdb easily. | 1400 // can be called from gdb easily. |
| 1398 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); | 1401 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); |
| 1399 | 1402 |
| 1400 #endif | 1403 #endif |
| 1401 | 1404 |
| 1402 #endif // RenderObject_h | 1405 #endif // RenderObject_h |
| OLD | NEW |