| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo
rwardList, UserGestureStatus) = 0; | 75 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo
rwardList, UserGestureStatus) = 0; |
| 76 // This version of Frame::navigate assumes the resulting navigation is not | 76 // This version of Frame::navigate assumes the resulting navigation is not |
| 77 // to be started on a timer. Use the method above in such cases. | 77 // to be started on a timer. Use the method above in such cases. |
| 78 virtual void navigate(const FrameLoadRequest&) = 0; | 78 virtual void navigate(const FrameLoadRequest&) = 0; |
| 79 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; | 79 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; |
| 80 | 80 |
| 81 virtual void detach(FrameDetachType); | 81 virtual void detach(FrameDetachType); |
| 82 void detachChildren(); | 82 void detachChildren(); |
| 83 virtual void disconnectOwnerElement(); | 83 virtual void disconnectOwnerElement(); |
| 84 virtual bool shouldClose() = 0; |
| 84 | 85 |
| 85 FrameClient* client() const; | 86 FrameClient* client() const; |
| 86 | 87 |
| 87 // NOTE: Page is moving out of Blink up into the browser process as | 88 // NOTE: Page is moving out of Blink up into the browser process as |
| 88 // part of the site-isolation (out of process iframes) work. | 89 // part of the site-isolation (out of process iframes) work. |
| 89 // FrameHost should be used instead where possible. | 90 // FrameHost should be used instead where possible. |
| 90 Page* page() const; | 91 Page* page() const; |
| 91 FrameHost* host() const; // Null when the frame is detached. | 92 FrameHost* host() const; // Null when the frame is detached. |
| 92 | 93 |
| 93 bool isMainFrame() const; | 94 bool isMainFrame() const; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 { | 160 { |
| 160 return m_treeNode; | 161 return m_treeNode; |
| 161 } | 162 } |
| 162 | 163 |
| 163 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 164 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
| 164 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 165 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
| 165 | 166 |
| 166 } // namespace blink | 167 } // namespace blink |
| 167 | 168 |
| 168 #endif // Frame_h | 169 #endif // Frame_h |
| OLD | NEW |