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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 1041473002: Detach old frame on WebFrame::swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/loader/FrameLoader.h » ('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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 virtual Frame* opener() const override { return 0; } 175 virtual Frame* opener() const override { return 0; }
176 virtual void setOpener(Frame*) override { } 176 virtual void setOpener(Frame*) override { }
177 177
178 virtual Frame* parent() const override { return 0; } 178 virtual Frame* parent() const override { return 0; }
179 virtual Frame* top() const override { return 0; } 179 virtual Frame* top() const override { return 0; }
180 virtual Frame* previousSibling() const override { return 0; } 180 virtual Frame* previousSibling() const override { return 0; }
181 virtual Frame* nextSibling() const override { return 0; } 181 virtual Frame* nextSibling() const override { return 0; }
182 virtual Frame* firstChild() const override { return 0; } 182 virtual Frame* firstChild() const override { return 0; }
183 virtual Frame* lastChild() const override { return 0; } 183 virtual Frame* lastChild() const override { return 0; }
184 virtual void willBeDetached() override { } 184 virtual void willBeDetached() override { }
185 virtual void detached() override { } 185 virtual void detached(FrameDetachType) override { }
186 186
187 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long, Resourc eRequest&, const ResourceResponse&) override { } 187 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long, Resourc eRequest&, const ResourceResponse&) override { }
188 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) override { } 188 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) override { }
189 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) overri de { } 189 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) overri de { }
190 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) override { } 190 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) override { }
191 191
192 virtual void dispatchDidHandleOnloadEvents() override { } 192 virtual void dispatchDidHandleOnloadEvents() override { }
193 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() override { } 193 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() override { }
194 virtual void dispatchWillClose() override { } 194 virtual void dispatchWillClose() override { }
195 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) ove rride { } 195 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) ove rride { }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 virtual ~EmptyDragClient() {} 316 virtual ~EmptyDragClient() {}
317 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 317 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
318 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 318 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
319 }; 319 };
320 320
321 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 321 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
322 322
323 } // namespace blink 323 } // namespace blink
324 324
325 #endif // EmptyClients_h 325 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698