| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // will need to manipulate firstChild or lastChild directly. | 48 // will need to manipulate firstChild or lastChild directly. |
| 49 void setFirstChild(RenderObject* child) { m_firstChild = child; } | 49 void setFirstChild(RenderObject* child) { m_firstChild = child; } |
| 50 void setLastChild(RenderObject* child) { m_lastChild = child; } | 50 void setLastChild(RenderObject* child) { m_lastChild = child; } |
| 51 | 51 |
| 52 void destroyLeftoverChildren(); | 52 void destroyLeftoverChildren(); |
| 53 | 53 |
| 54 RenderObject* removeChildNode(RenderObject* owner, RenderObject*, bool fullR
emove = true); | 54 RenderObject* removeChildNode(RenderObject* owner, RenderObject*, bool fullR
emove = true); |
| 55 void appendChildNode(RenderObject* owner, RenderObject*, bool fullAppend = t
rue); | 55 void appendChildNode(RenderObject* owner, RenderObject*, bool fullAppend = t
rue); |
| 56 void insertChildNode(RenderObject* owner, RenderObject* child, RenderObject*
before, bool fullInsert = true); | 56 void insertChildNode(RenderObject* owner, RenderObject* child, RenderObject*
before, bool fullInsert = true); |
| 57 | 57 |
| 58 void updateBeforeAfterContent(RenderObject* owner, PseudoId type, RenderObje
ct* styledObject = 0); | 58 void updateBeforeAfterContent(RenderObject* owner, PseudoId type, const Rend
erObject* styledObject = 0); |
| 59 void invalidateCounters(RenderObject* owner, const AtomicString& identifier)
; | 59 RenderObject* beforePseudoElementRenderer(const RenderObject* owner) const; |
| 60 RenderObject* afterPseudoElementRenderer(const RenderObject* owner) const; |
| 61 void invalidateCounters(const RenderObject* owner, const AtomicString& ident
ifier); |
| 60 | 62 |
| 61 private: | 63 private: |
| 62 RenderObject* m_firstChild; | 64 RenderObject* m_firstChild; |
| 63 RenderObject* m_lastChild; | 65 RenderObject* m_lastChild; |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 } // namespace WebCore | 68 } // namespace WebCore |
| 67 | 69 |
| 68 #endif // RenderObjectChildList_h | 70 #endif // RenderObjectChildList_h |
| OLD | NEW |