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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 } | 1045 } |
1046 | 1046 |
1047 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 1047 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
1048 { | 1048 { |
1049 if (m_webFrame->client()) { | 1049 if (m_webFrame->client()) { |
1050 m_webFrame->client()->suddenTerminationDisablerChanged( | 1050 m_webFrame->client()->suddenTerminationDisablerChanged( |
1051 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 1051 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
1052 } | 1052 } |
1053 } | 1053 } |
1054 | 1054 |
| 1055 BlameContext* FrameLoaderClientImpl::frameBlameContext() |
| 1056 { |
| 1057 if (!m_webFrame->client()) |
| 1058 return nullptr; |
| 1059 return m_webFrame->client()->frameBlameContext(); |
| 1060 } |
| 1061 |
1055 PassOwnPtrWillBeRawPtr<LinkResource> FrameLoaderClientImpl::createServiceWorkerL
inkResource(HTMLLinkElement* owner) | 1062 PassOwnPtrWillBeRawPtr<LinkResource> FrameLoaderClientImpl::createServiceWorkerL
inkResource(HTMLLinkElement* owner) |
1056 { | 1063 { |
1057 return ServiceWorkerLinkResource::create(owner); | 1064 return ServiceWorkerLinkResource::create(owner); |
1058 } | 1065 } |
1059 | 1066 |
1060 } // namespace blink | 1067 } // namespace blink |
OLD | NEW |