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

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

Issue 1781783002: Implement support for link type serviceworker in link elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move LinkServiceWorker to modules/serviceworkers Created 4 years, 9 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) 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class DocumentLoader; 51 class DocumentLoader;
52 class FetchRequest; 52 class FetchRequest;
53 class HTMLFormElement; 53 class HTMLFormElement;
54 class HTMLFrameElementBase; 54 class HTMLFrameElementBase;
55 class HTMLFrameOwnerElement; 55 class HTMLFrameOwnerElement;
56 class HTMLMediaElement; 56 class HTMLMediaElement;
57 class HTMLPlugInElement; 57 class HTMLPlugInElement;
58 class HistoryItem; 58 class HistoryItem;
59 class KURL; 59 class KURL;
60 class LocalFrame; 60 class LocalFrame;
61 class LinkLoaderClient;
Nate Chapin 2016/03/18 22:12:03 Is this needed?
Marijn Kruisselbrink 2016/03/18 22:18:37 No, it isn't. Removed.
62 class LinkResource;
61 class ResourceError; 63 class ResourceError;
62 class ResourceRequest; 64 class ResourceRequest;
63 class ResourceResponse; 65 class ResourceResponse;
64 class SecurityOrigin; 66 class SecurityOrigin;
65 class SharedWorkerRepositoryClient; 67 class SharedWorkerRepositoryClient;
66 class SubstituteData; 68 class SubstituteData;
67 class WebApplicationCacheHost; 69 class WebApplicationCacheHost;
68 class WebApplicationCacheHostClient; 70 class WebApplicationCacheHostClient;
69 class WebCookieJar; 71 class WebCookieJar;
70 class WebMediaPlayerClient; 72 class WebMediaPlayerClient;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 248
247 // Called when elements preventing the sudden termination of the frame 249 // Called when elements preventing the sudden termination of the frame
248 // become present or stop being present. |type| is the type of element 250 // become present or stop being present. |type| is the type of element
249 // (BeforeUnload handler, Unload handler). 251 // (BeforeUnload handler, Unload handler).
250 enum SuddenTerminationDisablerType { 252 enum SuddenTerminationDisablerType {
251 BeforeUnloadHandler, 253 BeforeUnloadHandler,
252 UnloadHandler, 254 UnloadHandler,
253 }; 255 };
254 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 256 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
255 257
258 virtual PassOwnPtrWillBeRawPtr<LinkResource> createServiceWorkerLinkResource (HTMLLinkElement*) { return nullptr; }
256 }; 259 };
257 260
258 } // namespace blink 261 } // namespace blink
259 262
260 #endif // FrameLoaderClient_h 263 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/RelList.cpp ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698