OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 void clearOpener() { setOpener(0); } | 210 void clearOpener() { setOpener(0); } |
211 | 211 |
212 // Inserts the given frame as a child of this frame, so that it is the next | 212 // Inserts the given frame as a child of this frame, so that it is the next |
213 // child after |previousSibling|, or first child if |previousSibling| is nul
l. | 213 // child after |previousSibling|, or first child if |previousSibling| is nul
l. |
214 BLINK_EXPORT void insertAfter(WebFrame* child, WebFrame* previousSibling); | 214 BLINK_EXPORT void insertAfter(WebFrame* child, WebFrame* previousSibling); |
215 | 215 |
216 // Adds the given frame as a child of this frame. | 216 // Adds the given frame as a child of this frame. |
217 BLINK_EXPORT void appendChild(WebFrame*); | 217 BLINK_EXPORT void appendChild(WebFrame*); |
218 | 218 |
219 // Removes the given child from this frame. | 219 // Removes the given child from this frame. |
220 virtual void removeChild(WebFrame*); | 220 BLINK_EXPORT void removeChild(WebFrame*); |
221 | 221 |
222 // Returns the parent frame or 0 if this is a top-most frame. | 222 // Returns the parent frame or 0 if this is a top-most frame. |
223 BLINK_EXPORT WebFrame* parent() const; | 223 BLINK_EXPORT WebFrame* parent() const; |
224 | 224 |
225 // Returns the top-most frame in the hierarchy containing this frame. | 225 // Returns the top-most frame in the hierarchy containing this frame. |
226 BLINK_EXPORT WebFrame* top() const; | 226 BLINK_EXPORT WebFrame* top() const; |
227 | 227 |
228 // Returns the first/last child frame. | 228 // Returns the first/last child frame. |
229 BLINK_EXPORT WebFrame* firstChild() const; | 229 BLINK_EXPORT WebFrame* firstChild() const; |
230 BLINK_EXPORT WebFrame* lastChild() const; | 230 BLINK_EXPORT WebFrame* lastChild() const; |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 WebFrame* m_firstChild; | 612 WebFrame* m_firstChild; |
613 WebFrame* m_lastChild; | 613 WebFrame* m_lastChild; |
614 | 614 |
615 WebFrame* m_opener; | 615 WebFrame* m_opener; |
616 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 616 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
617 }; | 617 }; |
618 | 618 |
619 } // namespace blink | 619 } // namespace blink |
620 | 620 |
621 #endif | 621 #endif |
OLD | NEW |