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

Side by Side Diff: Source/web/FrameLoaderClientImpl.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) 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId); 71 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId);
72 72
73 virtual bool hasWebView() const; 73 virtual bool hasWebView() const;
74 virtual bool hasFrameView() const; 74 virtual bool hasFrameView() const;
75 virtual void detachedFromParent(); 75 virtual void detachedFromParent();
76 virtual void dispatchWillRequestAfterPreconnect(WebCore::ResourceRequest&); 76 virtual void dispatchWillRequestAfterPreconnect(WebCore::ResourceRequest&);
77 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec tResponse); 77 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec tResponse);
78 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l ong identifier, const WebCore::ResourceResponse&); 78 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l ong identifier, const WebCore::ResourceResponse&);
79 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web Core::ResourceLoadPriority); 79 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web Core::ResourceLoadPriority);
80 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon g identifier); 80 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon g identifier);
81 virtual void dispatchDidLoadResourceFromMemoryCache(WebCore::DocumentLoader* , const WebCore::ResourceRequest&, const WebCore::ResourceResponse&, int length) ; 81 virtual void dispatchDidLoadResourceFromMemoryCache(const WebCore::ResourceR equest&, const WebCore::ResourceResponse&);
82 virtual void dispatchDidHandleOnloadEvents(); 82 virtual void dispatchDidHandleOnloadEvents();
83 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad(); 83 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad();
84 virtual void dispatchDidNavigateWithinPage(); 84 virtual void dispatchDidNavigateWithinPage();
85 virtual void dispatchWillClose(); 85 virtual void dispatchWillClose();
86 virtual void dispatchDidStartProvisionalLoad(); 86 virtual void dispatchDidStartProvisionalLoad();
87 virtual void dispatchDidReceiveTitle(const String&); 87 virtual void dispatchDidReceiveTitle(const String&);
88 virtual void dispatchDidChangeIcons(WebCore::IconType); 88 virtual void dispatchDidChangeIcons(WebCore::IconType);
89 virtual void dispatchDidCommitLoad(); 89 virtual void dispatchDidCommitLoad();
90 virtual void dispatchDidFailProvisionalLoad(const WebCore::ResourceError&); 90 virtual void dispatchDidFailProvisionalLoad(const WebCore::ResourceError&);
91 virtual void dispatchDidFailLoad(const WebCore::ResourceError&); 91 virtual void dispatchDidFailLoad(const WebCore::ResourceError&);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(); 154 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver();
155 155
156 // The WebFrame that owns this object and manages its lifetime. Therefore, 156 // The WebFrame that owns this object and manages its lifetime. Therefore,
157 // the web frame object is guaranteed to exist. 157 // the web frame object is guaranteed to exist.
158 WebFrameImpl* m_webFrame; 158 WebFrameImpl* m_webFrame;
159 }; 159 };
160 160
161 } // namespace WebKit 161 } // namespace WebKit
162 162
163 #endif 163 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698