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

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 645623004: Reland "Streamline frame detach" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 virtual bool hasWebView() const override; 69 virtual bool hasWebView() const override;
70 virtual Frame* opener() const override; 70 virtual Frame* opener() const override;
71 virtual void setOpener(Frame*) override; 71 virtual void setOpener(Frame*) override;
72 virtual Frame* parent() const override; 72 virtual Frame* parent() const override;
73 virtual Frame* top() const override; 73 virtual Frame* top() const override;
74 virtual Frame* previousSibling() const override; 74 virtual Frame* previousSibling() const override;
75 virtual Frame* nextSibling() const override; 75 virtual Frame* nextSibling() const override;
76 virtual Frame* firstChild() const override; 76 virtual Frame* firstChild() const override;
77 virtual Frame* lastChild() const override; 77 virtual Frame* lastChild() const override;
78 virtual void detachedFromParent() override; 78 virtual void detached() override;
79 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) override; 79 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) override;
80 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) override; 80 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) override;
81 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) override; 81 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) override;
82 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) override; 82 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) override;
83 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) override; 83 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) override;
84 virtual void dispatchDidHandleOnloadEvents() override; 84 virtual void dispatchDidHandleOnloadEvents() override;
85 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() override; 85 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() override;
86 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) override; 86 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) override;
87 virtual void dispatchWillClose() override; 87 virtual void dispatchWillClose() override;
88 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation) ov erride; 88 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation) ov erride;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // The WebFrame that owns this object and manages its lifetime. Therefore, 179 // The WebFrame that owns this object and manages its lifetime. Therefore,
180 // the web frame object is guaranteed to exist. 180 // the web frame object is guaranteed to exist.
181 WebLocalFrameImpl* m_webFrame; 181 WebLocalFrameImpl* m_webFrame;
182 }; 182 };
183 183
184 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 184 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
185 185
186 } // namespace blink 186 } // namespace blink
187 187
188 #endif 188 #endif
OLDNEW
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698