| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 void SetOwner(FrameOwner* owner) { owner_ = owner; } | 101 void SetOwner(FrameOwner* owner) { owner_ = owner; } |
| 102 HTMLFrameOwnerElement* DeprecatedLocalOwner() const; | 102 HTMLFrameOwnerElement* DeprecatedLocalOwner() const; |
| 103 | 103 |
| 104 DOMWindow* DomWindow() const { return dom_window_; } | 104 DOMWindow* DomWindow() const { return dom_window_; } |
| 105 | 105 |
| 106 FrameTree& Tree() const; | 106 FrameTree& Tree() const; |
| 107 ChromeClient& GetChromeClient() const; | 107 ChromeClient& GetChromeClient() const; |
| 108 | 108 |
| 109 virtual SecurityContext* GetSecurityContext() const = 0; | 109 virtual SecurityContext* GetSecurityContext() const = 0; |
| 110 | 110 |
| 111 Frame* FindFrameForNavigation(const AtomicString& name, | |
| 112 LocalFrame& active_frame); | |
| 113 Frame* FindUnsafeParentScrollPropagationBoundary(); | 111 Frame* FindUnsafeParentScrollPropagationBoundary(); |
| 114 | 112 |
| 115 // This prepares the Frame for the next commit. It will detach children, | 113 // This prepares the Frame for the next commit. It will detach children, |
| 116 // dispatch unload events, abort XHR requests and detach the document. | 114 // dispatch unload events, abort XHR requests and detach the document. |
| 117 // Returns true if the frame is ready to receive the next commit, or false | 115 // Returns true if the frame is ready to receive the next commit, or false |
| 118 // otherwise. | 116 // otherwise. |
| 119 virtual bool PrepareForCommit() = 0; | 117 virtual bool PrepareForCommit() = 0; |
| 120 | 118 |
| 121 // TODO(japhet): These should all move to LocalFrame. | 119 // TODO(japhet): These should all move to LocalFrame. |
| 122 virtual void PrintNavigationErrorMessage(const Frame&, | 120 virtual void PrintNavigationErrorMessage(const Frame&, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 return tree_node_; | 186 return tree_node_; |
| 189 } | 187 } |
| 190 | 188 |
| 191 // Allow equality comparisons of Frames by reference or pointer, | 189 // Allow equality comparisons of Frames by reference or pointer, |
| 192 // interchangeably. | 190 // interchangeably. |
| 193 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) | 191 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) |
| 194 | 192 |
| 195 } // namespace blink | 193 } // namespace blink |
| 196 | 194 |
| 197 #endif // Frame_h | 195 #endif // Frame_h |
| OLD | NEW |