| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // Returns the frame that opened this frame or 0 if there is none. | 207 // Returns the frame that opened this frame or 0 if there is none. |
| 208 BLINK_EXPORT WebFrame* opener() const; | 208 BLINK_EXPORT WebFrame* opener() const; |
| 209 | 209 |
| 210 // Sets the frame that opened this one or 0 if there is none. | 210 // Sets the frame that opened this one or 0 if there is none. |
| 211 virtual void setOpener(WebFrame*); | 211 virtual void setOpener(WebFrame*); |
| 212 | 212 |
| 213 // Reset the frame that opened this frame to 0. | 213 // Reset the frame that opened this frame to 0. |
| 214 // This is executed between layout tests runs | 214 // This is executed between layout tests runs |
| 215 void clearOpener() { setOpener(0); } | 215 void clearOpener() { setOpener(0); } |
| 216 | 216 |
| 217 // Inserts the given frame as a child of this frame, so that it is the next |
| 218 // child after |previousSibling|, or first child if |previousSibling| is nul
l. |
| 219 BLINK_EXPORT void insertAfter(WebFrame* child, WebFrame* previousSibling); |
| 220 |
| 217 // Adds the given frame as a child of this frame. | 221 // Adds the given frame as a child of this frame. |
| 218 BLINK_EXPORT void appendChild(WebFrame*); | 222 BLINK_EXPORT void appendChild(WebFrame*); |
| 219 | 223 |
| 220 // Removes the given child from this frame. | 224 // Removes the given child from this frame. |
| 221 virtual void removeChild(WebFrame*); | 225 virtual void removeChild(WebFrame*); |
| 222 | 226 |
| 223 // Returns the parent frame or 0 if this is a top-most frame. | 227 // Returns the parent frame or 0 if this is a top-most frame. |
| 224 BLINK_EXPORT WebFrame* parent() const; | 228 BLINK_EXPORT WebFrame* parent() const; |
| 225 | 229 |
| 226 // Returns the top-most frame in the hierarchy containing this frame. | 230 // Returns the top-most frame in the hierarchy containing this frame. |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 726 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 723 }; | 727 }; |
| 724 | 728 |
| 725 #if BLINK_IMPLEMENTATION | 729 #if BLINK_IMPLEMENTATION |
| 726 Frame* toCoreFrame(const WebFrame*); | 730 Frame* toCoreFrame(const WebFrame*); |
| 727 #endif | 731 #endif |
| 728 | 732 |
| 729 } // namespace blink | 733 } // namespace blink |
| 730 | 734 |
| 731 #endif | 735 #endif |
| OLD | NEW |