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