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

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 24009002: Move synchronously fetching to ResourceFetcher, as well as most of the logic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void frameLoaderDestroyed() = 0; 89 virtual void frameLoaderDestroyed() = 0;
90 90
91 virtual bool hasWebView() const = 0; // mainly for assertions 91 virtual bool hasWebView() const = 0; // mainly for assertions
92 92
93 virtual void detachedFromParent() = 0; 93 virtual void detachedFromParent() = 0;
94 94
95 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } 95 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { }
96 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 96 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
97 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0; 97 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0;
98 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0; 98 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0;
99 virtual void dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con st ResourceRequest&, const ResourceResponse&, int length) = 0; 99 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0;
100 100
101 virtual void dispatchDidHandleOnloadEvents() = 0; 101 virtual void dispatchDidHandleOnloadEvents() = 0;
102 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 102 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
103 virtual void dispatchDidNavigateWithinPage() { } 103 virtual void dispatchDidNavigateWithinPage() { }
104 virtual void dispatchWillClose() = 0; 104 virtual void dispatchWillClose() = 0;
105 virtual void dispatchDidStartProvisionalLoad() = 0; 105 virtual void dispatchDidStartProvisionalLoad() = 0;
106 virtual void dispatchDidReceiveTitle(const String&) = 0; 106 virtual void dispatchDidReceiveTitle(const String&) = 0;
107 virtual void dispatchDidChangeIcons(IconType) = 0; 107 virtual void dispatchDidChangeIcons(IconType) = 0;
108 virtual void dispatchDidCommitLoad() = 0; 108 virtual void dispatchDidCommitLoad() = 0;
109 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0; 109 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 213 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
214 virtual void dispatchWillInsertBody() { } 214 virtual void dispatchWillInsertBody() { }
215 215
216 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 216 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
217 }; 217 };
218 218
219 } // namespace WebCore 219 } // namespace WebCore
220 220
221 #endif // FrameLoaderClient_h 221 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698