Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: Source/WebCore/rendering/RenderObjectChildList.h

Issue 10914111: Merge 125737 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 RenderObject* lastChild() const { return m_lastChild; } 46 RenderObject* lastChild() const { return m_lastChild; }
47 47
48 // FIXME: Temporary while RenderBox still exists. Eventually this will just happen during insert/append/remove methods on the child list, and nobody 48 // FIXME: Temporary while RenderBox still exists. Eventually this will just happen during insert/append/remove methods on the child list, and nobody
49 // will need to manipulate firstChild or lastChild directly. 49 // will need to manipulate firstChild or lastChild directly.
50 void setFirstChild(RenderObject* child) { m_firstChild = child; } 50 void setFirstChild(RenderObject* child) { m_firstChild = child; }
51 void setLastChild(RenderObject* child) { m_lastChild = child; } 51 void setLastChild(RenderObject* child) { m_lastChild = child; }
52 52
53 void destroyLeftoverChildren(); 53 void destroyLeftoverChildren();
54 54
55 RenderObject* removeChildNode(RenderObject* owner, RenderObject*, bool fullR emove = true); 55 RenderObject* removeChildNode(RenderObject* owner, RenderObject*, bool fullR emove = true);
56 void appendChildNode(RenderObject* owner, RenderObject*, bool fullAppend = t rue); 56 void appendChildNode(RenderObject* owner, RenderObject*, bool notifyRenderer = true);
57 void insertChildNode(RenderObject* owner, RenderObject* child, RenderObject* before, bool fullInsert = true); 57 void insertChildNode(RenderObject* owner, RenderObject* child, RenderObject* before, bool notifyRenderer = true);
58 58
59 void updateBeforeAfterContent(RenderObject* owner, PseudoId type, const Rend erObject* styledObject = 0); 59 void updateBeforeAfterContent(RenderObject* owner, PseudoId type, const Rend erObject* styledObject = 0);
60 RenderObject* beforePseudoElementRenderer(const RenderObject* owner) const; 60 RenderObject* beforePseudoElementRenderer(const RenderObject* owner) const;
61 RenderObject* afterPseudoElementRenderer(const RenderObject* owner) const; 61 RenderObject* afterPseudoElementRenderer(const RenderObject* owner) const;
62 62
63 private: 63 private:
64 void updateBeforeAfterStyle(RenderObject* child, PseudoId type, RenderStyle* pseudoElementStyle); 64 void updateBeforeAfterStyle(RenderObject* child, PseudoId type, RenderStyle* pseudoElementStyle);
65 65
66 RenderObject* m_firstChild; 66 RenderObject* m_firstChild;
67 RenderObject* m_lastChild; 67 RenderObject* m_lastChild;
68 }; 68 };
69 69
70 } // namespace WebCore 70 } // namespace WebCore
71 71
72 #endif // RenderObjectChildList_h 72 #endif // RenderObjectChildList_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderObject.cpp ('k') | Source/WebCore/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698