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

Side by Side Diff: Source/WebCore/loader/FrameLoaderClient.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/loader/FrameLoader.cpp ('k') | Source/WebKit/chromium/public/WebFrameClient.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, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, u nsigned long identifier, const AuthenticationChallenge&) = 0; 137 virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, u nsigned long identifier, const AuthenticationChallenge&) = 0;
138 #if USE(PROTECTION_SPACE_AUTH_CALLBACK) 138 #if USE(PROTECTION_SPACE_AUTH_CALLBACK)
139 virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsi gned long identifier, const ProtectionSpace&) = 0; 139 virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsi gned long identifier, const ProtectionSpace&) = 0;
140 #endif 140 #endif
141 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0; 141 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0;
142 virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned l ong identifier, int dataLength) = 0; 142 virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned l ong identifier, int dataLength) = 0;
143 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0; 143 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0;
144 virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long ident ifier, const ResourceError&) = 0; 144 virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long ident ifier, const ResourceError&) = 0;
145 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con st ResourceRequest&, const ResourceResponse&, int length) = 0; 145 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con st ResourceRequest&, const ResourceResponse&, int length) = 0;
146 146
147 virtual void dispatchWillHandleOnloadEvents() = 0;
147 virtual void dispatchDidHandleOnloadEvents() = 0; 148 virtual void dispatchDidHandleOnloadEvents() = 0;
148 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 149 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
149 virtual void dispatchDidCancelClientRedirect() = 0; 150 virtual void dispatchDidCancelClientRedirect() = 0;
150 virtual void dispatchWillPerformClientRedirect(const KURL&, double inter val, double fireDate) = 0; 151 virtual void dispatchWillPerformClientRedirect(const KURL&, double inter val, double fireDate) = 0;
151 virtual void dispatchDidNavigateWithinPage() { } 152 virtual void dispatchDidNavigateWithinPage() { }
152 virtual void dispatchDidChangeLocationWithinPage() = 0; 153 virtual void dispatchDidChangeLocationWithinPage() = 0;
153 virtual void dispatchDidPushStateWithinPage() = 0; 154 virtual void dispatchDidPushStateWithinPage() = 0;
154 virtual void dispatchDidReplaceStateWithinPage() = 0; 155 virtual void dispatchDidReplaceStateWithinPage() = 0;
155 virtual void dispatchDidPopStateWithinPage() = 0; 156 virtual void dispatchDidPopStateWithinPage() = 0;
156 virtual void dispatchWillClose() = 0; 157 virtual void dispatchWillClose() = 0;
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 371
371 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 372 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
372 virtual void dispatchWillInsertBody() { } 373 virtual void dispatchWillInsertBody() { }
373 374
374 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 375 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
375 }; 376 };
376 377
377 } // namespace WebCore 378 } // namespace WebCore
378 379
379 #endif // FrameLoaderClient_h 380 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/WebCore/loader/FrameLoader.cpp ('k') | Source/WebKit/chromium/public/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698