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. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
7 * All rights reserved. | 7 * All rights reserved. |
8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 LayoutObject* beforeChild = nullptr) { | 385 LayoutObject* beforeChild = nullptr) { |
386 return addChild(newChild, beforeChild); | 386 return addChild(newChild, beforeChild); |
387 } | 387 } |
388 virtual void removeChild(LayoutObject*); | 388 virtual void removeChild(LayoutObject*); |
389 virtual bool createsAnonymousWrapper() const { return false; } | 389 virtual bool createsAnonymousWrapper() const { return false; } |
390 ////////////////////////////////////////// | 390 ////////////////////////////////////////// |
391 | 391 |
392 // Sets the parent of this object but doesn't add it as a child of the parent. | 392 // Sets the parent of this object but doesn't add it as a child of the parent. |
393 void setDangerousOneWayParent(LayoutObject*); | 393 void setDangerousOneWayParent(LayoutObject*); |
394 | 394 |
395 // For SPv2 only. The ObjectPaintProperties structure holds references to the | 395 // For SlimmingPaintInvalidation/SPv2 only. |
396 // property tree nodes that are created by the layout object for painting. | 396 // The ObjectPaintProperties structure holds references to the property tree |
397 // The property nodes are only updated during InUpdatePaintProperties phase | 397 // nodes that are created by the layout object for painting. The property |
398 // of the document lifecycle and shall remain immutable during other phases. | 398 // nodes are only updated during InPrePaint phase of the document lifecycle |
| 399 // and shall remain immutable during other phases. |
399 const ObjectPaintProperties* paintProperties() const; | 400 const ObjectPaintProperties* paintProperties() const; |
400 | 401 |
401 private: | 402 private: |
402 ObjectPaintProperties& ensurePaintProperties(); | 403 ObjectPaintProperties& ensurePaintProperties(); |
403 | 404 |
404 private: | 405 private: |
405 ////////////////////////////////////////// | 406 ////////////////////////////////////////// |
406 // Helper functions. Dangerous to use! | 407 // Helper functions. Dangerous to use! |
407 void setPreviousSibling(LayoutObject* previous) { m_previous = previous; } | 408 void setPreviousSibling(LayoutObject* previous) { m_previous = previous; } |
408 void setNextSibling(LayoutObject* next) { m_next = next; } | 409 void setNextSibling(LayoutObject* next) { m_next = next; } |
(...skipping 2261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2670 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2671 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2671 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2672 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2672 // We don't make object2 an optional parameter so that showLayoutTree | 2673 // We don't make object2 an optional parameter so that showLayoutTree |
2673 // can be called from gdb easily. | 2674 // can be called from gdb easily. |
2674 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2675 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2675 const blink::LayoutObject* object2); | 2676 const blink::LayoutObject* object2); |
2676 | 2677 |
2677 #endif | 2678 #endif |
2678 | 2679 |
2679 #endif // LayoutObject_h | 2680 #endif // LayoutObject_h |
OLD | NEW |