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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 const WebMediaPlayerSource&, | 160 const WebMediaPlayerSource&, |
161 WebMediaPlayerClient*) override; | 161 WebMediaPlayerClient*) override; |
162 WebRemotePlaybackClient* createWebRemotePlaybackClient( | 162 WebRemotePlaybackClient* createWebRemotePlaybackClient( |
163 HTMLMediaElement&) override; | 163 HTMLMediaElement&) override; |
164 ObjectContentType getObjectContentType( | 164 ObjectContentType getObjectContentType( |
165 const KURL&, | 165 const KURL&, |
166 const WTF::String& mimeType, | 166 const WTF::String& mimeType, |
167 bool shouldPreferPlugInsForImages) override; | 167 bool shouldPreferPlugInsForImages) override; |
168 void didChangeScrollOffset() override; | 168 void didChangeScrollOffset() override; |
169 void didUpdateCurrentHistoryItem() override; | 169 void didUpdateCurrentHistoryItem() override; |
170 bool allowScript(bool enabledPerSettings) override; | |
171 bool allowScriptFromSource(bool enabledPerSettings, | |
172 const KURL& scriptURL) override; | |
173 bool allowPlugins(bool enabledPerSettings) override; | |
174 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | |
175 bool allowRunningInsecureContent(bool enabledPerSettings, | |
176 SecurityOrigin*, | |
177 const KURL&) override; | |
178 bool allowAutoplay(bool defaultValue) override; | |
179 void passiveInsecureContentFound(const KURL&) override; | |
180 void didNotAllowScript() override; | |
181 void didNotAllowPlugins() override; | |
182 | 170 |
183 WebCookieJar* cookieJar() const override; | 171 WebCookieJar* cookieJar() const override; |
184 void frameFocused() const override; | 172 void frameFocused() const override; |
185 void didChangeName(const String&) override; | 173 void didChangeName(const String&) override; |
186 void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) override; | 174 void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) override; |
187 void didUpdateToUniqueOrigin() override; | 175 void didUpdateToUniqueOrigin() override; |
188 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; | 176 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; |
189 void didSetFeaturePolicyHeader( | 177 void didSetFeaturePolicyHeader( |
190 const WebParsedFeaturePolicy& parsedHeader) override; | 178 const WebParsedFeaturePolicy& parsedHeader) override; |
191 void didAddContentSecurityPolicies( | 179 void didAddContentSecurityPolicies( |
192 const blink::WebVector<WebContentSecurityPolicy>&) override; | 180 const blink::WebVector<WebContentSecurityPolicy>&) override; |
193 void didChangeFrameOwnerProperties(HTMLFrameOwnerElement*) override; | 181 void didChangeFrameOwnerProperties(HTMLFrameOwnerElement*) override; |
194 | 182 |
195 void dispatchWillStartUsingPeerConnectionHandler( | 183 void dispatchWillStartUsingPeerConnectionHandler( |
196 WebRTCPeerConnectionHandler*) override; | 184 WebRTCPeerConnectionHandler*) override; |
197 | 185 |
198 bool allowWebGL(bool enabledPerSettings) override; | 186 bool allowWebGL(bool enabledPerSettings) override; |
199 | 187 |
200 void dispatchWillInsertBody() override; | 188 void dispatchWillInsertBody() override; |
201 | 189 |
202 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() | 190 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() |
203 override; | 191 override; |
| 192 ContentSettingsClient& contentSettingsClient() override; |
| 193 |
204 SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() override; | 194 SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() override; |
205 | 195 |
206 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost( | 196 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost( |
207 WebApplicationCacheHostClient*) override; | 197 WebApplicationCacheHostClient*) override; |
208 | 198 |
209 void dispatchDidChangeManifest() override; | 199 void dispatchDidChangeManifest() override; |
210 | 200 |
211 unsigned backForwardLength() override; | 201 unsigned backForwardLength() override; |
212 | 202 |
213 void suddenTerminationDisablerChanged(bool present, | 203 void suddenTerminationDisablerChanged(bool present, |
(...skipping 28 matching lines...) Expand all Loading... |
242 | 232 |
243 DEFINE_TYPE_CASTS(LocalFrameClientImpl, | 233 DEFINE_TYPE_CASTS(LocalFrameClientImpl, |
244 LocalFrameClient, | 234 LocalFrameClient, |
245 client, | 235 client, |
246 client->isLocalFrameClientImpl(), | 236 client->isLocalFrameClientImpl(), |
247 client.isLocalFrameClientImpl()); | 237 client.isLocalFrameClientImpl()); |
248 | 238 |
249 } // namespace blink | 239 } // namespace blink |
250 | 240 |
251 #endif | 241 #endif |
OLD | NEW |