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

Side by Side Diff: Source/WebKit/chromium/src/FrameLoaderClientImpl.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec tResponse); 85 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec tResponse);
86 virtual bool shouldUseCredentialStorage(WebCore::DocumentLoader*, unsigned l ong identifier); 86 virtual bool shouldUseCredentialStorage(WebCore::DocumentLoader*, unsigned l ong identifier);
87 virtual void dispatchDidReceiveAuthenticationChallenge(WebCore::DocumentLoad er*, unsigned long identifier, const WebCore::AuthenticationChallenge&); 87 virtual void dispatchDidReceiveAuthenticationChallenge(WebCore::DocumentLoad er*, unsigned long identifier, const WebCore::AuthenticationChallenge&);
88 virtual void dispatchDidCancelAuthenticationChallenge(WebCore::DocumentLoade r*, unsigned long identifier, const WebCore::AuthenticationChallenge&); 88 virtual void dispatchDidCancelAuthenticationChallenge(WebCore::DocumentLoade r*, unsigned long identifier, const WebCore::AuthenticationChallenge&);
89 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l ong identifier, const WebCore::ResourceResponse&); 89 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l ong identifier, const WebCore::ResourceResponse&);
90 virtual void dispatchDidReceiveContentLength(WebCore::DocumentLoader*, unsig ned long identifier, int dataLength); 90 virtual void dispatchDidReceiveContentLength(WebCore::DocumentLoader*, unsig ned long identifier, int dataLength);
91 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web Core::ResourceLoadPriority); 91 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web Core::ResourceLoadPriority);
92 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon g identifier); 92 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon g identifier);
93 virtual void dispatchDidFailLoading(WebCore::DocumentLoader*, unsigned long identifier, const WebCore::ResourceError&); 93 virtual void dispatchDidFailLoading(WebCore::DocumentLoader*, unsigned long identifier, const WebCore::ResourceError&);
94 virtual bool dispatchDidLoadResourceFromMemoryCache(WebCore::DocumentLoader* , const WebCore::ResourceRequest&, const WebCore::ResourceResponse&, int length) ; 94 virtual bool dispatchDidLoadResourceFromMemoryCache(WebCore::DocumentLoader* , const WebCore::ResourceRequest&, const WebCore::ResourceResponse&, int length) ;
95 virtual void dispatchWillHandleOnloadEvents();
95 virtual void dispatchDidHandleOnloadEvents(); 96 virtual void dispatchDidHandleOnloadEvents();
96 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad(); 97 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad();
97 virtual void dispatchDidCancelClientRedirect(); 98 virtual void dispatchDidCancelClientRedirect();
98 virtual void dispatchWillPerformClientRedirect(const WebCore::KURL&, double interval, double fireDate); 99 virtual void dispatchWillPerformClientRedirect(const WebCore::KURL&, double interval, double fireDate);
99 virtual void dispatchDidNavigateWithinPage(); 100 virtual void dispatchDidNavigateWithinPage();
100 virtual void dispatchDidChangeLocationWithinPage(); 101 virtual void dispatchDidChangeLocationWithinPage();
101 virtual void dispatchDidPushStateWithinPage(); 102 virtual void dispatchDidPushStateWithinPage();
102 virtual void dispatchDidReplaceStateWithinPage(); 103 virtual void dispatchDidReplaceStateWithinPage();
103 virtual void dispatchDidPopStateWithinPage(); 104 virtual void dispatchDidPopStateWithinPage();
104 virtual void dispatchWillClose(); 105 virtual void dispatchWillClose();
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // which specifies that the plugin should be ready to accept data. 261 // which specifies that the plugin should be ready to accept data.
261 bool m_sentInitialResponseToPlugin; 262 bool m_sentInitialResponseToPlugin;
262 263
263 // The navigation policy to use for the next call to dispatchCreatePage. 264 // The navigation policy to use for the next call to dispatchCreatePage.
264 WebNavigationPolicy m_nextNavigationPolicy; 265 WebNavigationPolicy m_nextNavigationPolicy;
265 }; 266 };
266 267
267 } // namespace WebKit 268 } // namespace WebKit
268 269
269 #endif 270 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/public/WebFrameClient.h ('k') | Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698