| 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(HTMLFrameElementBase*) override; | 181 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) 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 26 matching lines...) Expand all Loading... |
| 240 | 230 |
| 241 DEFINE_TYPE_CASTS(LocalFrameClientImpl, | 231 DEFINE_TYPE_CASTS(LocalFrameClientImpl, |
| 242 LocalFrameClient, | 232 LocalFrameClient, |
| 243 client, | 233 client, |
| 244 client->isLocalFrameClientImpl(), | 234 client->isLocalFrameClientImpl(), |
| 245 client.isLocalFrameClientImpl()); | 235 client.isLocalFrameClientImpl()); |
| 246 | 236 |
| 247 } // namespace blink | 237 } // namespace blink |
| 248 | 238 |
| 249 #endif | 239 #endif |
| OLD | NEW |