| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999-2001 Lars Knoll <knoll@kde.org> | 3 * 1999-2001 Lars Knoll <knoll@kde.org> |
| 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> | 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> | 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000-2001 Dirk Mueller <mueller@kde.org> | 6 * 2000-2001 Dirk Mueller <mueller@kde.org> |
| 7 * 2000 Stefan Schimanski <1Stein@gmx.de> | 7 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 virtual WindowProxy* windowProxy(DOMWrapperWorld&) = 0; | 76 virtual WindowProxy* windowProxy(DOMWrapperWorld&) = 0; |
| 77 | 77 |
| 78 virtual void navigate(Document& originDocument, const KURL&, bool replaceCur
rentItem, UserGestureStatus) = 0; | 78 virtual void navigate(Document& originDocument, const KURL&, bool replaceCur
rentItem, UserGestureStatus) = 0; |
| 79 // This version of Frame::navigate assumes the resulting navigation is not | 79 // This version of Frame::navigate assumes the resulting navigation is not |
| 80 // to be started on a timer. Use the method above in such cases. | 80 // to be started on a timer. Use the method above in such cases. |
| 81 virtual void navigate(const FrameLoadRequest&) = 0; | 81 virtual void navigate(const FrameLoadRequest&) = 0; |
| 82 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; | 82 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; |
| 83 | 83 |
| 84 virtual void detach(FrameDetachType); | 84 virtual void detach(FrameDetachType); |
| 85 void detachChildren(); | 85 void detachChildren(); |
| 86 virtual void disconnectOwnerElement(); | 86 void disconnectOwnerElement(); |
| 87 virtual bool shouldClose() = 0; | 87 virtual bool shouldClose() = 0; |
| 88 | 88 |
| 89 FrameClient* client() const; | 89 FrameClient* client() const; |
| 90 | 90 |
| 91 // NOTE: Page is moving out of Blink up into the browser process as | 91 // NOTE: Page is moving out of Blink up into the browser process as |
| 92 // part of the site-isolation (out of process iframes) work. | 92 // part of the site-isolation (out of process iframes) work. |
| 93 // FrameHost should be used instead where possible. | 93 // FrameHost should be used instead where possible. |
| 94 Page* page() const; | 94 Page* page() const; |
| 95 FrameHost* host() const; // Null when the frame is detached. | 95 FrameHost* host() const; // Null when the frame is detached. |
| 96 | 96 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 { | 162 { |
| 163 return m_treeNode; | 163 return m_treeNode; |
| 164 } | 164 } |
| 165 | 165 |
| 166 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 166 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
| 167 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 167 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
| 168 | 168 |
| 169 } // namespace blink | 169 } // namespace blink |
| 170 | 170 |
| 171 #endif // Frame_h | 171 #endif // Frame_h |
| OLD | NEW |