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

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: Move frame count inc/dec to WebFrame append/removeChild 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // The WebFrame that owns this object and manages its lifetime. Therefore, 180 // The WebFrame that owns this object and manages its lifetime. Therefore,
181 // the web frame object is guaranteed to exist. 181 // the web frame object is guaranteed to exist.
182 WebLocalFrameImpl* m_webFrame; 182 WebLocalFrameImpl* m_webFrame;
183 }; 183 };
184 184
185 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 185 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
186 186
187 } // namespace blink 187 } // namespace blink
188 188
189 #endif 189 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698