Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: third_party/WebKit/Source/core/frame/Frame.h

Issue 2907663004: FrameTree::Find only searches relative to local frames. (Closed)
Patch Set: Rebasing... Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/shell/test_runner/test_runner_for_specific_view.cc ('k') | third_party/WebKit/Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698