| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 enum SuddenTerminationDisablerType { | 262 enum SuddenTerminationDisablerType { |
| 263 BeforeUnloadHandler, | 263 BeforeUnloadHandler, |
| 264 UnloadHandler, | 264 UnloadHandler, |
| 265 }; | 265 }; |
| 266 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 266 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 267 | 267 |
| 268 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } | 268 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } |
| 269 | 269 |
| 270 // Effective connection type when this frame was loaded. | 270 // Effective connection type when this frame was loaded. |
| 271 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 271 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
| 272 virtual void setEffectiveConnectionTypeOverride(blink::WebEffectiveConnectio
nType) {} |
| 273 virtual void clearEffectiveConnectionTypeOverride() {} |
| 272 | 274 |
| 273 // Overwrites the given URL to use an HTML5 embed if possible. | 275 // Overwrites the given URL to use an HTML5 embed if possible. |
| 274 // An empty URL is returned if the URL is not overriden. | 276 // An empty URL is returned if the URL is not overriden. |
| 275 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 277 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 276 }; | 278 }; |
| 277 | 279 |
| 278 } // namespace blink | 280 } // namespace blink |
| 279 | 281 |
| 280 #endif // FrameLoaderClient_h | 282 #endif // FrameLoaderClient_h |
| OLD | NEW |