| 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 | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 9 * reserved. | 9 * reserved. |
| 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 UserGestureStatus) = 0; | 82 UserGestureStatus) = 0; |
| 83 // This version of Frame::navigate assumes the resulting navigation is not | 83 // This version of Frame::navigate assumes the resulting navigation is not |
| 84 // to be started on a timer. Use the method above in such cases. | 84 // to be started on a timer. Use the method above in such cases. |
| 85 virtual void navigate(const FrameLoadRequest&) = 0; | 85 virtual void navigate(const FrameLoadRequest&) = 0; |
| 86 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; | 86 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; |
| 87 | 87 |
| 88 virtual void detach(FrameDetachType); | 88 virtual void detach(FrameDetachType); |
| 89 void disconnectOwnerElement(); | 89 void disconnectOwnerElement(); |
| 90 virtual bool shouldClose() = 0; | 90 virtual bool shouldClose() = 0; |
| 91 | 91 |
| 92 virtual void setDocumentHasReceivedUserGesture() = 0; |
| 93 |
| 92 FrameClient* client() const; | 94 FrameClient* client() const; |
| 93 | 95 |
| 94 // NOTE: Page is moving out of Blink up into the browser process as | 96 // NOTE: Page is moving out of Blink up into the browser process as |
| 95 // part of the site-isolation (out of process iframes) work. | 97 // part of the site-isolation (out of process iframes) work. |
| 96 // FrameHost should be used instead where possible. | 98 // FrameHost should be used instead where possible. |
| 97 Page* page() const; | 99 Page* page() const; |
| 98 FrameHost* host() const; // Null when the frame is detached. | 100 FrameHost* host() const; // Null when the frame is detached. |
| 99 | 101 |
| 100 bool isMainFrame() const; | 102 bool isMainFrame() const; |
| 101 bool isLocalRoot() const; | 103 bool isLocalRoot() const; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 return m_treeNode; | 174 return m_treeNode; |
| 173 } | 175 } |
| 174 | 176 |
| 175 // Allow equality comparisons of Frames by reference or pointer, | 177 // Allow equality comparisons of Frames by reference or pointer, |
| 176 // interchangeably. | 178 // interchangeably. |
| 177 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) | 179 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) |
| 178 | 180 |
| 179 } // namespace blink | 181 } // namespace blink |
| 180 | 182 |
| 181 #endif // Frame_h | 183 #endif // Frame_h |
| OLD | NEW |