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

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

Issue 295063002: [NotLanded] Implement the fetching algorithm of the Web Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 6 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
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/ManifestLoader.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 18 matching lines...) Expand all
29 29
30 #ifndef FrameLoaderClient_h 30 #ifndef FrameLoaderClient_h
31 #define FrameLoaderClient_h 31 #define FrameLoaderClient_h
32 32
33 #include "core/dom/IconURL.h" 33 #include "core/dom/IconURL.h"
34 #include "core/frame/FrameClient.h" 34 #include "core/frame/FrameClient.h"
35 #include "core/loader/FrameLoaderTypes.h" 35 #include "core/loader/FrameLoaderTypes.h"
36 #include "core/loader/NavigationPolicy.h" 36 #include "core/loader/NavigationPolicy.h"
37 #include "platform/network/ResourceLoadPriority.h" 37 #include "platform/network/ResourceLoadPriority.h"
38 #include "platform/weborigin/Referrer.h" 38 #include "platform/weborigin/Referrer.h"
39 #include "public/platform/WebManifestError.h"
39 #include "wtf/Forward.h" 40 #include "wtf/Forward.h"
40 #include "wtf/Vector.h" 41 #include "wtf/Vector.h"
41 #include <v8.h> 42 #include <v8.h>
42 43
43 namespace blink { 44 namespace blink {
45 class WebApplicationCacheHost;
46 class WebApplicationCacheHostClient;
44 class WebCookieJar; 47 class WebCookieJar;
45 class WebRTCPeerConnectionHandler; 48 class WebRTCPeerConnectionHandler;
46 class WebServiceWorkerProvider; 49 class WebServiceWorkerProvider;
47 class WebServiceWorkerProviderClient; 50 class WebServiceWorkerProviderClient;
48 class WebSocketHandle; 51 class WebSocketHandle;
49 class WebApplicationCacheHost; 52 struct WebManifest;
50 class WebApplicationCacheHostClient;
51 } 53 }
52 54
53 namespace blink { 55 namespace blink {
54 56
55 class Color; 57 class Color;
56 class DOMWindowExtension; 58 class DOMWindowExtension;
57 class DOMWrapperWorld; 59 class DOMWrapperWorld;
58 class DocumentLoader; 60 class DocumentLoader;
59 class Element; 61 class Element;
60 class FetchRequest; 62 class FetchRequest;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 223
222 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0; 224 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0;
223 225
224 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; } 226 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; }
225 227
226 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; 228 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0;
227 229
228 virtual void didStopAllLoaders() { } 230 virtual void didStopAllLoaders() { }
229 231
230 virtual void dispatchDidChangeManifest() { } 232 virtual void dispatchDidChangeManifest() { }
233 virtual void dispatchDidLoadManifest(const blink::WebManifest&) { }
234 virtual void dispatchDidFailLoadManifest(blink::WebManifestError) { }
231 235
232 virtual bool isFrameLoaderClientImpl() const { return false; } 236 virtual bool isFrameLoaderClientImpl() const { return false; }
233 }; 237 };
234 238
235 } // namespace blink 239 } // namespace blink
236 240
237 #endif // FrameLoaderClient_h 241 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/ManifestLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698