| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 virtual SecurityContext* securityContext() const = 0; | 103 virtual SecurityContext* securityContext() const = 0; |
| 104 | 104 |
| 105 Frame* findFrameForNavigation(const AtomicString& name, Frame& activeFrame); | 105 Frame* findFrameForNavigation(const AtomicString& name, Frame& activeFrame); |
| 106 Frame* findUnsafeParentScrollPropagationBoundary(); | 106 Frame* findUnsafeParentScrollPropagationBoundary(); |
| 107 | 107 |
| 108 // This prepares the Frame for the next commit. It will detach children, | 108 // This prepares the Frame for the next commit. It will detach children, |
| 109 // dispatch unload events, abort XHR requests and detach the document. | 109 // dispatch unload events, abort XHR requests and detach the document. |
| 110 // Returns true if the frame is ready to receive the next commit, or false | 110 // Returns true if the frame is ready to receive the next commit, or false |
| 111 // otherwise. | 111 // otherwise. |
| 112 virtual bool prepareForCommit() = 0; | 112 virtual bool prepareForCommit() = 0; |
| 113 void prepareSwapFrom(Frame*); | |
| 114 void finishSwapFrom(Frame*); | 113 void finishSwapFrom(Frame*); |
| 115 | 114 |
| 116 bool canNavigate(const Frame&); | 115 bool canNavigate(const Frame&); |
| 117 virtual void printNavigationErrorMessage(const Frame&, const char* reason) =
0; | 116 virtual void printNavigationErrorMessage(const Frame&, const char* reason) =
0; |
| 118 | 117 |
| 119 LayoutPart* ownerLayoutObject() const; // LayoutObject for the element that
contains this frame. | 118 LayoutPart* ownerLayoutObject() const; // LayoutObject for the element that
contains this frame. |
| 120 | 119 |
| 121 int64_t frameID() const { return m_frameID; } | 120 int64_t frameID() const { return m_frameID; } |
| 122 | 121 |
| 123 Settings* settings() const; // can be null | 122 Settings* settings() const; // can be null |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 { | 159 { |
| 161 return m_treeNode; | 160 return m_treeNode; |
| 162 } | 161 } |
| 163 | 162 |
| 164 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 163 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
| 165 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 164 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
| 166 | 165 |
| 167 } // namespace blink | 166 } // namespace blink |
| 168 | 167 |
| 169 #endif // Frame_h | 168 #endif // Frame_h |
| OLD | NEW |