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

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: . 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, Frame& active_frame);
132
131 // Note: these two functions are not virtual but intentionally shadow the 133 // Note: these two functions are not virtual but intentionally shadow the
132 // corresponding method in the Frame base class to return the 134 // corresponding method in the Frame base class to return the
133 // LocalFrame-specific subclass. 135 // LocalFrame-specific subclass.
134 LocalWindowProxy* WindowProxy(DOMWrapperWorld&); 136 LocalWindowProxy* WindowProxy(DOMWrapperWorld&);
135 LocalDOMWindow* DomWindow() const; 137 LocalDOMWindow* DomWindow() const;
136 void SetDOMWindow(LocalDOMWindow*); 138 void SetDOMWindow(LocalDOMWindow*);
137 FrameView* View() const; 139 FrameView* View() const;
138 Document* GetDocument() const; 140 Document* GetDocument() const;
139 void SetPagePopupOwner(Element&); 141 void SetPagePopupOwner(Element&);
140 Element* PagePopupOwner() const { return page_popup_owner_.Get(); } 142 Element* PagePopupOwner() const { return page_popup_owner_.Get(); }
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 explicit ScopedFrameBlamer(LocalFrame*); 397 explicit ScopedFrameBlamer(LocalFrame*);
396 ~ScopedFrameBlamer(); 398 ~ScopedFrameBlamer();
397 399
398 private: 400 private:
399 Member<LocalFrame> frame_; 401 Member<LocalFrame> frame_;
400 }; 402 };
401 403
402 } // namespace blink 404 } // namespace blink
403 405
404 #endif // LocalFrame_h 406 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698