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

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

Issue 13934004: Plumb an event through to content/ that is sent just before 'onload'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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/WebCore/dom/Document.cpp ('k') | Source/WebCore/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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsig ned long, const AuthenticationChallenge&) { } 240 virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsig ned long, const AuthenticationChallenge&) { }
241 #if USE(PROTECTION_SPACE_AUTH_CALLBACK) 241 #if USE(PROTECTION_SPACE_AUTH_CALLBACK)
242 virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsigned long, const ProtectionSpace&) { return false; } 242 virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsigned long, const ProtectionSpace&) { return false; }
243 #endif 243 #endif
244 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) { } 244 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, cons t ResourceResponse&) { }
245 virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned long, int) { } 245 virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned long, int) { }
246 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) { } 246 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) { }
247 virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long, const Re sourceError&) { } 247 virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long, const Re sourceError&) { }
248 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const R esourceRequest&, const ResourceResponse&, int) { return false; } 248 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const R esourceRequest&, const ResourceResponse&, int) { return false; }
249 249
250 virtual void dispatchWillHandleOnloadEvents() { }
250 virtual void dispatchDidHandleOnloadEvents() { } 251 virtual void dispatchDidHandleOnloadEvents() { }
251 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() { } 252 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() { }
252 virtual void dispatchDidCancelClientRedirect() { } 253 virtual void dispatchDidCancelClientRedirect() { }
253 virtual void dispatchWillPerformClientRedirect(const KURL&, double, double) { } 254 virtual void dispatchWillPerformClientRedirect(const KURL&, double, double) { }
254 virtual void dispatchDidChangeLocationWithinPage() { } 255 virtual void dispatchDidChangeLocationWithinPage() { }
255 virtual void dispatchDidPushStateWithinPage() { } 256 virtual void dispatchDidPushStateWithinPage() { }
256 virtual void dispatchDidReplaceStateWithinPage() { } 257 virtual void dispatchDidReplaceStateWithinPage() { }
257 virtual void dispatchDidPopStateWithinPage() { } 258 virtual void dispatchDidPopStateWithinPage() { }
258 virtual void dispatchWillClose() { } 259 virtual void dispatchWillClose() { }
259 virtual void dispatchDidReceiveIcon() { } 260 virtual void dispatchDidReceiveIcon() { }
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 virtual void setController(DeviceOrientationController*) { } 598 virtual void setController(DeviceOrientationController*) { }
598 virtual DeviceOrientationData* lastOrientation() const { return 0; } 599 virtual DeviceOrientationData* lastOrientation() const { return 0; }
599 virtual void deviceOrientationControllerDestroyed() { } 600 virtual void deviceOrientationControllerDestroyed() { }
600 }; 601 };
601 602
602 void fillWithEmptyClients(Page::PageClients&); 603 void fillWithEmptyClients(Page::PageClients&);
603 604
604 } 605 }
605 606
606 #endif // EmptyClients_h 607 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/WebCore/dom/Document.cpp ('k') | Source/WebCore/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698