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

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

Issue 1216093003: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Blink 1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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/modules/serviceworkers/ServiceWorker.idl ('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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 virtual bool allowWebGL(bool enabledPerSettings) override; 161 virtual bool allowWebGL(bool enabledPerSettings) override;
162 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e; 162 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid e;
163 163
164 virtual void dispatchWillInsertBody() override; 164 virtual void dispatchWillInsertBody() override;
165 165
166 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) o verride; 166 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) o verride;
167 167
168 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o verride; 168 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o verride;
169 virtual bool isControlledByServiceWorker(DocumentLoader&) override; 169 virtual bool isControlledByServiceWorker(DocumentLoader&) override;
170 virtual int64_t serviceWorkerID(DocumentLoader&) override; 170 virtual std::string serviceWorkerID(DocumentLoader&) override;
171 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() overrid e; 171 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() overrid e;
172 172
173 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp plicationCacheHostClient*) override; 173 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp plicationCacheHostClient*) override;
174 174
175 virtual void didStopAllLoaders() override; 175 virtual void didStopAllLoaders() override;
176 176
177 virtual void dispatchDidChangeManifest() override; 177 virtual void dispatchDidChangeManifest() override;
178 178
179 virtual void dispatchDidChangeDefaultPresentation() override; 179 virtual void dispatchDidChangeDefaultPresentation() override;
180 180
181 virtual unsigned backForwardLength() override; 181 virtual unsigned backForwardLength() override;
182 182
183 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) override; 183 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) override;
184 private: 184 private:
185 virtual bool isFrameLoaderClientImpl() const override { return true; } 185 virtual bool isFrameLoaderClientImpl() const override { return true; }
186 186
187 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*); 187 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*);
188 188
189 // The WebFrame that owns this object and manages its lifetime. Therefore, 189 // The WebFrame that owns this object and manages its lifetime. Therefore,
190 // the web frame object is guaranteed to exist. 190 // the web frame object is guaranteed to exist.
191 WebLocalFrameImpl* m_webFrame; 191 WebLocalFrameImpl* m_webFrame;
192 }; 192 };
193 193
194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 #endif 198 #endif
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorker.idl ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698