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

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
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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 virtual Frame* opener() const override { return 0; } 172 virtual Frame* opener() const override { return 0; }
173 virtual void setOpener(Frame*) override { } 173 virtual void setOpener(Frame*) override { }
174 174
175 virtual Frame* parent() const override { return 0; } 175 virtual Frame* parent() const override { return 0; }
176 virtual Frame* top() const override { return 0; } 176 virtual Frame* top() const override { return 0; }
177 virtual Frame* previousSibling() const override { return 0; } 177 virtual Frame* previousSibling() const override { return 0; }
178 virtual Frame* nextSibling() const override { return 0; } 178 virtual Frame* nextSibling() const override { return 0; }
179 virtual Frame* firstChild() const override { return 0; } 179 virtual Frame* firstChild() const override { return 0; }
180 virtual Frame* lastChild() const override { return 0; } 180 virtual Frame* lastChild() const override { return 0; }
181 virtual void willBeDetached() override { } 181 virtual void willBeDetached() override { }
182 virtual void detached() override { } 182 virtual void detached(FrameDetachType) override { }
183 183
184 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long, Resourc eRequest&, const ResourceResponse&) override { } 184 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long, Resourc eRequest&, const ResourceResponse&) override { }
185 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) override { } 185 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) override { }
186 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) overri de { } 186 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) overri de { }
187 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) override { } 187 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) override { }
188 188
189 virtual void dispatchDidHandleOnloadEvents() override { } 189 virtual void dispatchDidHandleOnloadEvents() override { }
190 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() override { } 190 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() override { }
191 virtual void dispatchWillClose() override { } 191 virtual void dispatchWillClose() override { }
192 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) ove rride { } 192 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) ove rride { }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 virtual ~EmptyDragClient() {} 313 virtual ~EmptyDragClient() {}
314 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 314 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
315 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 315 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
316 }; 316 };
317 317
318 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 318 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
319 319
320 } // namespace blink 320 } // namespace blink
321 321
322 #endif // EmptyClients_h 322 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698