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

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

Powered by Google App Engine
This is Rietveld 408576698