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

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 634813002: [ServiceWorker] Add WebDataSource argument to isControlledByServiceWorker() [1/3 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use reference Created 6 years, 2 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/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('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) 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) override; 152 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) override;
153 153
154 virtual void didRequestAutocomplete(HTMLFormElement*) override; 154 virtual void didRequestAutocomplete(HTMLFormElement*) override;
155 155
156 virtual bool allowWebGL(bool enabledPerSettings) override; 156 virtual bool allowWebGL(bool enabledPerSettings) override;
157 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e; 157 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e;
158 158
159 virtual void dispatchWillInsertBody() override; 159 virtual void dispatchWillInsertBody() override;
160 160
161 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o verride; 161 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o verride;
162 virtual bool isControlledByServiceWorker() override; 162 virtual bool isControlledByServiceWorker(DocumentLoader&) override;
163 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() overrid e; 163 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() overrid e;
164 164
165 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp plicationCacheHostClient*) override; 165 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp plicationCacheHostClient*) override;
166 166
167 virtual void didStopAllLoaders() override; 167 virtual void didStopAllLoaders() override;
168 168
169 virtual void dispatchDidChangeManifest() override; 169 virtual void dispatchDidChangeManifest() override;
170 170
171 private: 171 private:
172 virtual bool isFrameLoaderClientImpl() const override { return true; } 172 virtual bool isFrameLoaderClientImpl() const override { return true; }
173 173
174 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*); 174 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*);
175 175
176 // The WebFrame that owns this object and manages its lifetime. Therefore, 176 // The WebFrame that owns this object and manages its lifetime. Therefore,
177 // the web frame object is guaranteed to exist. 177 // the web frame object is guaranteed to exist.
178 WebLocalFrameImpl* m_webFrame; 178 WebLocalFrameImpl* m_webFrame;
179 }; 179 };
180 180
181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
182 182
183 } // namespace blink 183 } // namespace blink
184 184
185 #endif 185 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698