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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 enum SuddenTerminationDisablerType { | 266 enum SuddenTerminationDisablerType { |
267 BeforeUnloadHandler, | 267 BeforeUnloadHandler, |
268 UnloadHandler, | 268 UnloadHandler, |
269 }; | 269 }; |
270 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 270 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
271 | 271 |
272 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } | 272 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } |
273 | 273 |
274 // Effective connection type when this frame was loaded. | 274 // Effective connection type when this frame was loaded. |
275 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 275 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
| 276 |
| 277 // Overwrites the given URL to use an HTML5 video player if possible. |
| 278 // An empty string is returned if the URL is not overriden |
| 279 virtual String OverrideFlashEmbedWithHTML(const String&) { return ""; } |
276 }; | 280 }; |
277 | 281 |
278 } // namespace blink | 282 } // namespace blink |
279 | 283 |
280 #endif // FrameLoaderClient_h | 284 #endif // FrameLoaderClient_h |
OLD | NEW |