OLD | NEW |
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 virtual void didRequestAutocomplete(HTMLFormElement*) override; | 156 virtual void didRequestAutocomplete(HTMLFormElement*) override; |
157 | 157 |
158 virtual bool allowWebGL(bool enabledPerSettings) override; | 158 virtual bool allowWebGL(bool enabledPerSettings) override; |
159 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid
e; | 159 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid
e; |
160 | 160 |
161 virtual void dispatchWillInsertBody() override; | 161 virtual void dispatchWillInsertBody() override; |
162 | 162 |
163 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o
verride; | 163 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o
verride; |
164 virtual bool isControlledByServiceWorker(DocumentLoader&) override; | 164 virtual bool isControlledByServiceWorker(DocumentLoader&) override; |
| 165 virtual int64_t serviceWorkerID(DocumentLoader&) override; |
165 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() overrid
e; | 166 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() overrid
e; |
166 | 167 |
167 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp
plicationCacheHostClient*) override; | 168 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp
plicationCacheHostClient*) override; |
168 | 169 |
169 virtual void didStopAllLoaders() override; | 170 virtual void didStopAllLoaders() override; |
170 | 171 |
171 virtual void dispatchDidChangeManifest() override; | 172 virtual void dispatchDidChangeManifest() override; |
172 | 173 |
173 private: | 174 private: |
174 virtual bool isFrameLoaderClientImpl() const override { return true; } | 175 virtual bool isFrameLoaderClientImpl() const override { return true; } |
175 | 176 |
176 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*); | 177 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*); |
177 | 178 |
178 // The WebFrame that owns this object and manages its lifetime. Therefore, | 179 // The WebFrame that owns this object and manages its lifetime. Therefore, |
179 // the web frame object is guaranteed to exist. | 180 // the web frame object is guaranteed to exist. |
180 WebLocalFrameImpl* m_webFrame; | 181 WebLocalFrameImpl* m_webFrame; |
181 }; | 182 }; |
182 | 183 |
183 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 184 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
184 | 185 |
185 } // namespace blink | 186 } // namespace blink |
186 | 187 |
187 #endif | 188 #endif |
OLD | NEW |