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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 bool ShouldClose() override; 121 bool ShouldClose() override;
122 SecurityContext* GetSecurityContext() const override; 122 SecurityContext* GetSecurityContext() const override;
123 void PrintNavigationErrorMessage(const Frame&, const char* reason) override; 123 void PrintNavigationErrorMessage(const Frame&, const char* reason) override;
124 void PrintNavigationWarning(const String&) override; 124 void PrintNavigationWarning(const String&) override;
125 bool PrepareForCommit() override; 125 bool PrepareForCommit() override;
126 void DidChangeVisibilityState() override; 126 void DidChangeVisibilityState() override;
127 127
128 void DetachChildren(); 128 void DetachChildren();
129 void DocumentAttached(); 129 void DocumentAttached();
130 130
131 Frame* FindFrameForNavigation(const AtomicString& name,
132 LocalFrame& active_frame);
133
131 // Note: these two functions are not virtual but intentionally shadow the 134 // Note: these two functions are not virtual but intentionally shadow the
132 // corresponding method in the Frame base class to return the 135 // corresponding method in the Frame base class to return the
133 // LocalFrame-specific subclass. 136 // LocalFrame-specific subclass.
134 LocalWindowProxy* WindowProxy(DOMWrapperWorld&); 137 LocalWindowProxy* WindowProxy(DOMWrapperWorld&);
135 LocalDOMWindow* DomWindow() const; 138 LocalDOMWindow* DomWindow() const;
136 void SetDOMWindow(LocalDOMWindow*); 139 void SetDOMWindow(LocalDOMWindow*);
137 LocalFrameView* View() const override; 140 LocalFrameView* View() const override;
138 Document* GetDocument() const; 141 Document* GetDocument() const;
139 void SetPagePopupOwner(Element&); 142 void SetPagePopupOwner(Element&);
140 Element* PagePopupOwner() const { return page_popup_owner_.Get(); } 143 Element* PagePopupOwner() const { return page_popup_owner_.Get(); }
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 explicit ScopedFrameBlamer(LocalFrame*); 402 explicit ScopedFrameBlamer(LocalFrame*);
400 ~ScopedFrameBlamer(); 403 ~ScopedFrameBlamer();
401 404
402 private: 405 private:
403 Member<LocalFrame> frame_; 406 Member<LocalFrame> frame_;
404 }; 407 };
405 408
406 } // namespace blink 409 } // namespace blink
407 410
408 #endif // LocalFrame_h 411 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698