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

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

Issue 551973005: 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // The WebFrame that owns this object and manages its lifetime. Therefore, 176 // The WebFrame that owns this object and manages its lifetime. Therefore,
177 // the web frame object is guaranteed to exist. 177 // the web frame object is guaranteed to exist.
178 WebLocalFrameImpl* m_webFrame; 178 WebLocalFrameImpl* m_webFrame;
179 }; 179 };
180 180
181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
182 182
183 } // namespace blink 183 } // namespace blink
184 184
185 #endif 185 #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