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

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, 3 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 virtual bool hasWebView() const OVERRIDE; 68 virtual bool hasWebView() const OVERRIDE;
69 virtual Frame* opener() const OVERRIDE; 69 virtual Frame* opener() const OVERRIDE;
70 virtual void setOpener(Frame*) OVERRIDE; 70 virtual void setOpener(Frame*) OVERRIDE;
71 virtual Frame* parent() const OVERRIDE; 71 virtual Frame* parent() const OVERRIDE;
72 virtual Frame* top() const OVERRIDE; 72 virtual Frame* top() const OVERRIDE;
73 virtual Frame* previousSibling() const OVERRIDE; 73 virtual Frame* previousSibling() const OVERRIDE;
74 virtual Frame* nextSibling() const OVERRIDE; 74 virtual Frame* nextSibling() const OVERRIDE;
75 virtual Frame* firstChild() const OVERRIDE; 75 virtual Frame* firstChild() const OVERRIDE;
76 virtual Frame* lastChild() const OVERRIDE; 76 virtual Frame* lastChild() const OVERRIDE;
77 virtual void detachedFromParent() OVERRIDE; 77 virtual void detached() OVERRIDE;
78 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) OVERRIDE; 78 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) OVERRIDE;
79 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) OVERRIDE; 79 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) OVERRIDE;
80 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) OVERRIDE; 80 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) OVERRIDE;
81 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) OVERRIDE; 81 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) OVERRIDE;
82 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) OVERRIDE; 82 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) OVERRIDE;
83 virtual void dispatchDidHandleOnloadEvents() OVERRIDE; 83 virtual void dispatchDidHandleOnloadEvents() OVERRIDE;
84 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE; 84 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE;
85 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) OVERRIDE; 85 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) OVERRIDE;
86 virtual void dispatchWillClose() OVERRIDE; 86 virtual void dispatchWillClose() OVERRIDE;
87 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation) OV ERRIDE; 87 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation) OV ERRIDE;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // The WebFrame that owns this object and manages its lifetime. Therefore, 175 // The WebFrame that owns this object and manages its lifetime. Therefore,
176 // the web frame object is guaranteed to exist. 176 // the web frame object is guaranteed to exist.
177 WebLocalFrameImpl* m_webFrame; 177 WebLocalFrameImpl* m_webFrame;
178 }; 178 };
179 179
180 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 180 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
181 181
182 } // namespace blink 182 } // namespace blink
183 183
184 #endif 184 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698