| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 if (m_webFrame->client()) | 96 if (m_webFrame->client()) |
| 97 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worl
dId); | 97 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worl
dId); |
| 98 } | 98 } |
| 99 | 99 |
| 100 void FrameLoaderClientImpl::didChangeScrollOffset() | 100 void FrameLoaderClientImpl::didChangeScrollOffset() |
| 101 { | 101 { |
| 102 if (m_webFrame->client()) | 102 if (m_webFrame->client()) |
| 103 m_webFrame->client()->didChangeScrollOffset(m_webFrame); | 103 m_webFrame->client()->didChangeScrollOffset(m_webFrame); |
| 104 } | 104 } |
| 105 | 105 |
| 106 void FrameLoaderClientImpl::didRemoveAllPendingStylesheet() | |
| 107 { | |
| 108 WebViewImpl* webview = m_webFrame->viewImpl(); | |
| 109 if (webview) | |
| 110 webview->didRemoveAllPendingStylesheet(m_webFrame); | |
| 111 } | |
| 112 | |
| 113 void FrameLoaderClientImpl::detachedFromParent() | 106 void FrameLoaderClientImpl::detachedFromParent() |
| 114 { | 107 { |
| 115 // Alert the client that the frame is being detached. This is the last | 108 // Alert the client that the frame is being detached. This is the last |
| 116 // chance we have to communicate with the client. | 109 // chance we have to communicate with the client. |
| 117 RefPtr<WebLocalFrameImpl> protector(m_webFrame); | 110 RefPtr<WebLocalFrameImpl> protector(m_webFrame); |
| 118 | 111 |
| 119 WebFrameClient* client = m_webFrame->client(); | 112 WebFrameClient* client = m_webFrame->client(); |
| 120 if (!client) | 113 if (!client) |
| 121 return; | 114 return; |
| 122 | 115 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 274 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
| 282 } | 275 } |
| 283 | 276 |
| 284 void FrameLoaderClientImpl::dispatchDidChangeManifest() | 277 void FrameLoaderClientImpl::dispatchDidChangeManifest() |
| 285 { | 278 { |
| 286 if (m_webFrame->client()) | 279 if (m_webFrame->client()) |
| 287 m_webFrame->client()->didChangeManifest(m_webFrame); | 280 m_webFrame->client()->didChangeManifest(m_webFrame); |
| 288 } | 281 } |
| 289 | 282 |
| 290 } // namespace blink | 283 } // namespace blink |
| OLD | NEW |