| 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 // TODO(kdsilva) |
| 278 virtual bool overrideEmbedInfo(String*) = 0; |
| 276 }; | 279 }; |
| 277 | 280 |
| 278 } // namespace blink | 281 } // namespace blink |
| 279 | 282 |
| 280 #endif // FrameLoaderClient_h | 283 #endif // FrameLoaderClient_h |
| OLD | NEW |