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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 196 |
197 // Hierarchy ---------------------------------------------------------- | 197 // Hierarchy ---------------------------------------------------------- |
198 | 198 |
199 // Returns the containing view. | 199 // Returns the containing view. |
200 virtual WebView* view() const = 0; | 200 virtual WebView* view() const = 0; |
201 | 201 |
202 // Returns the frame that opened this frame or 0 if there is none. | 202 // Returns the frame that opened this frame or 0 if there is none. |
203 BLINK_EXPORT WebFrame* opener() const; | 203 BLINK_EXPORT WebFrame* opener() const; |
204 | 204 |
205 // Sets the frame that opened this one or 0 if there is none. | 205 // Sets the frame that opened this one or 0 if there is none. |
206 virtual void setOpener(WebFrame*); | 206 BLINK_EXPORT void setOpener(WebFrame*); |
207 | 207 |
208 // Reset the frame that opened this frame to 0. | 208 // Reset the frame that opened this frame to 0. |
209 // This is executed between layout tests runs | 209 // This is executed between layout tests runs |
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. |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 WebFrame* m_firstChild; | 625 WebFrame* m_firstChild; |
626 WebFrame* m_lastChild; | 626 WebFrame* m_lastChild; |
627 | 627 |
628 WebFrame* m_opener; | 628 WebFrame* m_opener; |
629 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 629 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
630 }; | 630 }; |
631 | 631 |
632 } // namespace blink | 632 } // namespace blink |
633 | 633 |
634 #endif | 634 #endif |
OLD | NEW |